projectEli/Assets/NeoFPS/Core/Weapons/WieldableTools/IWieldableTool.cs

21 lines
512 B
C#
Raw Normal View History

2022-11-07 01:28:33 +00:00
using UnityEngine;
using UnityEngine.Events;
namespace NeoFPS.WieldableTools
{
public interface IWieldableTool
{
ICharacter wielder { get; }
event UnityAction onPrimaryActionStart;
event UnityAction onPrimaryActionEnd;
event UnityAction onSecondaryActionStart;
event UnityAction onSecondaryActionEnd;
void PrimaryPress();
void PrimaryRelease();
void SecondaryPress();
void SecondaryRelease();
void Interrupt();
}
}