OldBlueWater/BlueWater/Assets/02.Scripts/Interface/IDamageable.cs
NTG_Lenovo f7b7eff9f0 IDamageable 인터페이스에 Die함수 추가
+ 기본 프리팹 변경에 맞게 수정
+ 캐릭터들 Die 로직 변경
2023-10-20 15:10:48 +09:00

11 lines
290 B
C#

using UnityEngine;
// ReSharper disable once CheckNamespace
namespace BlueWaterProject
{
public interface IDamageable
{
public void TakeDamage(float attackerPower, float attackerShieldPenetrationRate = default, Vector3? attackPos = null);
public void Die();
}
}