Exemple #1
0
        public void Start(int value)
        {
            if (ToNextData == null)
            {
                ToNextData = new StepData();
            }

            ToNextData.int32 = value;
            Start();
        }
Exemple #2
0
 public void Stop()
 {
     OnStop();
     OnEnd();
     //如果开始了
     if (State > 1)
     {
         if (ThenStep != null)
         {
             ThenStep.Stop();
         }
         if (ElseStep != null)
         {
             ElseStep.Stop();
         }
     }
     ThenStep   = null;
     ElseStep   = null;
     ParentData = null;
     ToNextData = null;
 }