Example #1
0
		override public void OnStateUpdate(Animator animator, AnimatorStateInfo animatorStateInfo, int layerIndex)
		{
			if (Input.GetKeyDown(KeyCode.Escape))
			{
				animator.GetComponentInChildren<UI.Controllers.BaseWindow>().Dismiss(returnValue);
			}
		}