public void Stop()
 {
     IsPaused = false;
     if (_sequenceExecutor != null)
     {
         _state = RunState.Stopping;                 // So that the iterator will break, but it's not yet stopped.
         _sequenceExecutor.Stop();
     }
 }
 protected override void _OnStop()
 {
     _sequenceExecutor.Stop();
 }