示例#1
0
    private void DestroyBlock()
    {
        // User feedback
        PlayBlockDestroySFX();
        TriggerSparklesVFX();
        gameSession.AddToScore();

        // Level Logic
        level.RemoveBlockFromCount();

        Destroy(gameObject);
    }