예제 #1
0
    public void consume()
    {
        if (healthItem)
        {
            health.increaseHealth(amount);
        }
        else
        {
            health.increaseMana(amount);
        }
        controller.showBubbles();
        audioManager.buffAudio();

        Destroy(gameObject);
    }