internal void Start(TransitionArgs args) { for (var i = 0; i < this.Count; i++) { this[i].Start(args); } }
internal void Invoke(TransitionArgs args) { for (var i = 0; i < this.Count; i++) { this[i].Invoke(args); } }
internal bool Start() { var args = new TransitionArgs(); this.actions.Start(args); if (args.CancelTransition) { return(false); } return(true); }
internal bool Invoke(Signal <TState, TTransition, TSignal> signal) { var args = new TransitionArgs(); this.actions.Invoke(args); if (args.CancelTransition) { return(false); } this.signal = signal; this.status = Status.Starting; return(true); }
protected override void OnInvoke(TransitionArgs args) { }
protected override void OnStart(TransitionArgs args) { this.action(this, args); }
protected override void OnStart(TransitionArgs args) { }
protected override void OnInvoke(TransitionArgs args) { this.action(this, args); }