コード例 #1
0
 protected virtual void EnterState(string toStateName)
 {
     EnterStateEvent?.Invoke(toStateName);
 }
コード例 #2
0
 /// <summary>
 /// Call this to initiate state change.
 /// </summary>
 /// <param name="toStateName"></param>
 /// <param name="arg"></param>
 protected virtual void EnterState(string toStateName, object arg = null)
 {
     EnterStateEvent?.Invoke(toStateName, arg);
 }
コード例 #3
0
 public void Enter()
 {
     EnterStateEvent?.Invoke();
 }
コード例 #4
0
 internal void OnEnterState(string state, StateEventArg arg)
 {
     EnterStateEvent?.Invoke(state, arg);
 }
コード例 #5
0
 /// <summary>
 /// Invokes the Enter State Event.
 /// </summary>
 protected void InvokeEnter()
 {
     EnterStateEvent?.Invoke();
 }