Ejemplo n.º 1
0
 void StartGame()
 {
     isStart = true;
     GetComponent <SpawnerObjectManager>().StartGame();
     CancelInvoke("StartGame");
     timerAnimatorController.StartTime();
 }
Ejemplo n.º 2
0
 private void StartGame()
 {
     timerAnimatorController.StartTime();
     panelGo.SetActive(false);
     panelAttention.SetActive(false);
     spawnerManager[0].StartGame();
     spawnerManager[1].StartGame();
     isPlayer1AllowMove = true;
     isPlayer2AllowMove = true;
     isStart            = true;
     mimi.GetComponent <Player> ().AnimPlayer(true);
     leo.GetComponent <Player> ().AnimPlayer(true);
 }