public class LivingEntity : MonoBehaviour, IDamageable
{
public virtual void Die()
{
if (Dead)
{
return;
}

Dead = true;
OnDeath?.Invoke();
}
}

public class EnemyEntity : LivingEntity, IDamageable
{
public override void Die()
{
base.Die();
PlayDissolveShader();

frameHpBar.DOFade(0f, stats.HpBarFadeTime);
delayedHpBar.DOFade(0f, stats.HpBarFadeTime);
currentHpBar.DOFade(0f, stats.HpBarFadeTime);
}
}


아닌가 해골물이었던 건가


49