projectEli/Assets/NeoFPS/Core/Inventory/IWieldable.cs

16 lines
301 B
C#
Raw Normal View History

2022-11-07 01:28:33 +00:00
using UnityEngine.Events;
namespace NeoFPS
{
public interface IWieldable
{
ICharacter wielder { get; }
void Select();
void DeselectInstant();
Waitable Deselect();
event UnityAction<ICharacter> onWielderChanged;
T GetComponent<T>();
}
}