You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

33 lines
624 B

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
namespace Multiplayer
{
public class Player
{
public byte ID;
public NetworkConnection Connection;
public Vector3 Position { get; private set; }
public Quaternion Rotation { get; private set; }
public string Name { get; private set; }
public Player(NetworkConnection Connection, string Name)
{
this.ID = (byte)Connection.connectionId;
this.Connection = Connection;
this.Name = Name;
}
}
}