Beispiel #1
0
 private void DestroyBlock()
 {
     AudioSystem.PlayRandomSFX(glassPaneBreakSounds, audioSource);
     PlayParticleVFX();
     glassPaneCounter.reduceGlassPaneCount();
     scoreSystem.AddBlockDestroyedPoints();
     Destroy(thisGlassPaneFields.crackSprite);
     Destroy(gameObject);
 }