Пример #1
0
    public override void TakeDamage()
    {
        if (entityStateCurrent == EntityStates.Dead)
        {
            return;
        }

        healthCurrent -= attackDamage;
        hbScript.PlayerHealthChange(healthCurrent);

        DamageIndicator _dmgI = GetComponent <DamageIndicator>();

        _dmgI.Hit();
    }