public void BlockDestroyed() { breakableBlocks--; gameStatus.AddTotalBlocks(1); gameStatus.AddtoScore(); if (breakableBlocks <= 0) { AudioSource.PlayClipAtPoint( winAudio, Camera.main.transform.position); StopLevel(); gameStatus.AddTotalTime(playingTime); frameController.DropWinFrame(); } }