public void Start(int value) { if (ToNextData == null) { ToNextData = new StepData(); } ToNextData.int32 = value; Start(); }
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; }