diff options
author | chai <chaifix@163.com> | 2020-11-09 16:03:45 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-11-09 16:03:45 +0800 |
commit | 0fdb81ffb2af8c39cfd611f485d46f3341206832 (patch) | |
tree | dde782dad44038d5d1d997451e5067e7a08b1d3e /Assets/Scripts/Avatar/IInteractable.cs | |
parent | 6a1dc10ecae4fa5e45ba19dc8a57b8f3f3199fcb (diff) |
* HitManager
Diffstat (limited to 'Assets/Scripts/Avatar/IInteractable.cs')
-rw-r--r-- | Assets/Scripts/Avatar/IInteractable.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Assets/Scripts/Avatar/IInteractable.cs b/Assets/Scripts/Avatar/IInteractable.cs index 23e49912..7a648c6c 100644 --- a/Assets/Scripts/Avatar/IInteractable.cs +++ b/Assets/Scripts/Avatar/IInteractable.cs @@ -14,8 +14,10 @@ public interface IInteractable bool IsHit(); - bool IsHurt(); - + bool IsHurt();
+
+ void OnHit(HitInfo hitInfo); + void OnHurt(HurtInfo hurtInfo); } |