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