コード例 #1
0
 // If the alert is not displayed, and we aren't already playing the game, then start the game
 // Late update so this checks after Start is completed.
 void LateUpdate()
 {
     if (!_gameManager.alertDisplayed && !_pongManager.GetPlaying())
     {
         _pongManager.StartGame();
     }
 }