Esempio n. 1
0
 public virtual void Stop()
 {
     OnExit();
     if (parentSequence != null)
     {
         parentSequence.Stop();
     }
 }
Esempio n. 2
0
        public virtual void Stop()
        {
            OnExit();
            Sequence sequence = GetSequence();

            if (sequence != null)
            {
                sequence.Stop();
            }
        }
Esempio n. 3
0
        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);
                }
            }
        }