public void consume() { if (healthItem) { health.increaseHealth(amount); } else { health.increaseMana(amount); } controller.showBubbles(); audioManager.buffAudio(); Destroy(gameObject); }
public void consume() { if (healthItem) { health.increaseHealth(amount); } else { health.increaseMana(amount); } controller.showBubbles(); audioManager.buffAudio(); Destroy(gameObject); }