예제 #1
0
    public void TakeDamage(float amount)
    {
        if (_disableInput)
        {
            return;
        }

        AudioPlayer.Instance.PlayOneShot(AudioPlayer.Instance.EnemyHit, 0.25f);
        _healthDisplay.RemoveHealth();
    }