Example #1
0
 public void CountDestroyedBlocks()
 {
     blocksCount--;
     if (blocksCount <= 0)
     {
         string qwe = scenesLoader.GetActiveScene().name;
         if (scenesLoader.GetActiveScene().name == "Level 2")
         {
             scenesLoader.LoadWinScene();
         }
         else
         {
             scenesLoader.LoadNextScene();
         }
     }
 }