namespace HutongGames.PlayMaker.Actions
{
[ActionCategory(ActionCategory.Input)]
[Tooltip("Gets the pressed state of the specified Mouse Button and stores it in a Bool Variable. See Unity Input Manager doc.")]
public class GetMouseDLeft : FsmStateAction
{
[RequiredField]
public MouseButton button;
public FsmEvent sendEvent;
[UIHint(UIHint.Variable)]
public FsmBool storeResult;
float time=0;
int count=0;
public override void Reset()
{
button = MouseButton.Left;
sendEvent = null;
storeResult = null;
}