Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
        private void Awake()
        {
            Instance = this;

            clientManager = ClientManager.Instance;
        }