// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved.

using UnityEngine;
using UnityEditor;

using HutongGames.PlayMaker.Actions;
using HutongGames.PlayMakerEditor;

[CustomActionEditor(typeof(SetAnimatorBool))]
public class SetAnimatorBoolActionEditor : OnAnimatorUpdateActionEditorBase
{

	public override bool OnGUI()
	{
		EditField("gameObject");
		EditField("parameter");
		EditField("Value");

		bool changed = EditEveryFrameField();
		
		return GUI.changed || changed;
	}

}
