예제 #1
0
 public void CountBlocksDestroyed()
 {
     breakableBlocks--;
     gameManger.AddToScore();
     if (breakableBlocks == 0)
     {
         SceneLoader sceneLoader = FindObjectOfType <SceneLoader>();
         sceneLoader.LoadNextScene();
     }
 }