private void OnStateExited(object sender, StateTransitionEventArgs e)
		{
			foreach (var descriptor in _delegates.Values)
			{
				descriptor.DelegateExit(((State)sender).Id, e.TransitionEvent.EventInstance.Event);
			}
		}
		private void OnStateExited(object sender, StateTransitionEventArgs args)
		{
			Action(new TransitionReceipt(args.TransitionEvent));
		}
Example #3
0
		private void OnStateExited(object sender, StateTransitionEventArgs args)
		{
			SetActive(false);
		}
		protected virtual void OnParentExit(object sender, StateTransitionEventArgs args)
		{
			lastState = historyFetcher(this, args.TransitionEvent);
		}
Example #5
0
		private void OnStateEntered(object sender, StateTransitionEventArgs args)
		{
			nextTime = DateTime.Now.AddMilliseconds(timeoutPeriod);
			SetActive(true);
		}