From 22891bf59032ba88262824255a706d652031384b Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 10 Mar 2022 14:07:40 +0800 Subject: * move folder --- Assets/Scripts/Avatar/Hurtbox.cs | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 Assets/Scripts/Avatar/Hurtbox.cs (limited to 'Assets/Scripts/Avatar/Hurtbox.cs') diff --git a/Assets/Scripts/Avatar/Hurtbox.cs b/Assets/Scripts/Avatar/Hurtbox.cs deleted file mode 100644 index b5bd738f..00000000 --- a/Assets/Scripts/Avatar/Hurtbox.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -public class Hurtbox : MonoBehaviour -{ - [SerializeField] - private PhysicsBox m_BoxCollider; - public PhysicsBox Collider - { - get { - return m_BoxCollider; - } - } - - [SerializeField] - private MonoBehaviour m_Host; - - public IInteractable Host - { - get - { - return m_Host as IInteractable; - } - } - - private void Awake() - { - HitManager.Instance.AddHurtBox(this); - } - - -} -- cgit v1.1-26-g67d0