public override void OnStartServer() { RTSPlayer player = connectionToClient.identity.GetComponent <RTSPlayer>(); teamColor = player.getTeamColor(); }
public override void OnStartServer() { RTSPlayer player = connectionToClient.identity.GetComponent <RTSPlayer>(); teamColor = player.getTeamColor(); }