public void OnDestroy() { PowerUps powerUp = GameObject.Find("PowerUpManager").GetComponent <PowerUps>(); powerUp.CheckDropRate(transform); Score.scoreValue += 10; spawn.KillZombie(); }
public void OnDestroy() { PowerUps powerUp = GameObject.Find("PowerUpManager").GetComponent <PowerUps>(); powerUp.CheckDropRate(transform); Score.scoreValue += 10; spawn.KillZombie(); }