コード例 #1
0
 private void Update()
 {
     if (GAME_STATE == eGameState.level && ASTEROIDS.Count == 0)
     {
         // The player has destroyed all the Asteroids and completed this level
         if (_S != null)
         {
             _S.EndLevel();
         }
     }
 }