示例#1
0
 public void ReductionState()
 {
     if (nextState != null && nextState.nextState == null)
     {
         if (nextState.TmpChangeStateEvent != null)
         {
             nextState.TmpReductionStateEvent.Invoke(nextState.NowValue);
         }
         nextState = null;
     }
     else if (nextState != null)
     {
         nextState.ReductionState();
     }
 }
示例#2
0
 public void ExitState()
 {
     num -= 1;
     state.ReductionState();
 }