Пример #1
0
 // Start is called before the first frame update
 private void StartGame()
 {
     if (player != null)
     {
         player.StartGame();
     }
     if (uiController != null && player != null)
     {
         uiController.StartGame();
     }
     if (audioManager != null)
     {
         audioManager.StartGame();
     }
     if (slotsController != null)
     {
         slotsController.StartGame();
     }
     if (roundController != null)
     {
         roundController.StartGame();
     }
     isGameRunning = true;
 }