Esempio n. 1
0
    public void OnDestroy()
    {
        PowerUps powerUp = GameObject.Find("PowerUpManager").GetComponent <PowerUps>();

        powerUp.CheckDropRate(transform);
        Score.scoreValue += 10;
        spawn.KillZombie();
    }