public void ExtraLifePowerUpMethod(DamageDealer damageDealer) { Debug.Log("Touched Extralife"); PlayPowerUpSound(); gameSessionScript.Addlives(); gameSessionScript.CheckNumberOfLivesAndUpdate(); damageDealer.OnHitDestroyOtherObject(); }
public void ExtraLifePowerUpMethod(DamageDealer damageDealer) { Debug.Log("Touched Extralife"); PlayPowerUpSound(); gameSessionScript.Addlives(); gameSessionScript.CheckNumberOfLivesAndUpdate(); damageDealer.OnHitDestroyOtherObject(); }