public virtual void Stop() { OnExit(); if (parentSequence != null) { parentSequence.Stop(); } }
public virtual void Stop() { OnExit(); Sequence sequence = GetSequence(); if (sequence != null) { sequence.Stop(); } }
public virtual void ExecuteSequence(Sequence s) { OnExit(); Sequence sequence = GetSequence(); if (sequence != null) { sequence.Stop(); FungusScript fungusScript = sequence.GetFungusScript(); if (fungusScript != null) { fungusScript.ExecuteSequence(s); } } }