コード例 #1
0
 void NextTurn()
 {
     currentPlayer = (currentPlayer + 1) % players.Length;
     players[currentPlayer].NextGuy();
     currentGuy = players[currentPlayer].GetGuy().GetComponent <Guy>();
     currentGuy.Activate();
     turn++;
 }
コード例 #2
0
 void StartGame()
 {
     currentPlayer = 0;
     currentGuy    = players[currentPlayer].GetGuy().GetComponent <Guy>();
     currentGuy.Activate();
 }