using System.Collections; using System.Collections.Generic; using UnityEngine; public interface IInteractable { PhysicsPrimitive[] GetAllPrimitive(); PhysicsBox GetHitbox(); PhysicsBox GetHurtbox(); PhysicsPrimitive[] GetAllHit(); bool IsHit(); bool IsHurt(); void OnHit(HitInfo hitInfo); void OnHurt(HurtInfo hurtInfo); }