Esempio n. 1
0
    private void PlayDeathAnimation()
    {
        Balloon.FlyTop();

        foreach (var item in GameObject.FindGameObjectsWithTag("Spawner"))
        {
            Destroy(item);
        }

        foreach (var item in GameObject.FindGameObjectsWithTag("Duck"))
        {
            Destroy(item, 4);
        }
    }