예제 #1
0
 private void DestroyBlock()
 {
     FindObjectOfType <GameSessionLogic>().AddPointsPerBlockDestroyedToPoint();
     AudioSource.PlayClipAtPoint(blockAudioClip, Camera.main.transform.position);
     TriggerSparklesVFX();
     level.RemoveBreakableBlock();
     Destroy(gameObject);
 }