21 lines
512 B
C#
21 lines
512 B
C#
|
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();
|
|||
|
}
|
|||
|
}
|