예제 #1
0
 void CmdEliminatePlayer(GameObject target)
 {
     target.GetComponent <Player>().eliminateCount += 1;
     gameSceneManager.cmdEliminatePlayerCount      += 1;
     target.GetComponent <Player>().playersWhoEliminateMe.Add(gameObject);
     if (!gameSceneManager.toBeEliminatedPlayerGameObjects.Contains(target))
     {
         gameSceneManager.toBeEliminatedPlayerGameObjects.Add(target);
     }
     gameSceneManager.FinishAllPlayersEliminate();
 }