public void HandleJoinTeam(Unit.Team team) { playerTeam = team; spawnLocation = ArenaManager.GetSpawnLocation(playerTeam); transform.rotation = spawnLocation.rotation; // rotate clientManager to match spawnLocation SpawnPlayer(); gameState = Global.GameState.Running; }
private void Awake() { Instance = this; clientManager = ClientManager.Instance; }