diff options
author | chai <chaifix@163.com> | 2020-11-09 20:50:17 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-11-09 20:50:17 +0800 |
commit | d21321d1e0d594ab247679cbfde86737aa24979c (patch) | |
tree | c22021ea204c25eda3a3eaa23b7aedd904eb00cc /Assets/Scripts/Avatar/Avatar.cs | |
parent | 0fdb81ffb2af8c39cfd611f485d46f3341206832 (diff) |
*misc
Diffstat (limited to 'Assets/Scripts/Avatar/Avatar.cs')
-rw-r--r-- | Assets/Scripts/Avatar/Avatar.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Assets/Scripts/Avatar/Avatar.cs b/Assets/Scripts/Avatar/Avatar.cs index dc6c7858..03cceccb 100644 --- a/Assets/Scripts/Avatar/Avatar.cs +++ b/Assets/Scripts/Avatar/Avatar.cs @@ -99,12 +99,14 @@ public class Avatar : MonoBehaviour, IInteractable public virtual void OnHit(HitInfo hitInfo)
{
- Debug.Log("Hit");
+ //Debug.Log("Hit");
+ m_AbilitySystem.OnHit(hitInfo);
}
public virtual void OnHurt(HurtInfo hurtInfo)
{
- Debug.Log("Hurt");
+ //Debug.Log("Hurt");
+ m_AbilitySystem.OnHurt(hurtInfo);
}
}
|