Exemple #1
0
 public void Reset()
 {
     for (int i = 0; i < this.MaxENodes; i++)
     {
         if (this.ActiveENodes == null)
         {
             return;
         }
         EffectNode node = this.ActiveENodes[i];
         if (node != null)
         {
             node.Reset();
             this.RemoveActiveNode(node);
         }
     }
     this.emitter.Reset();
 }
Exemple #2
0
 public void Reset()
 {
     if (ActiveENodes == null)
     {
         return;
     }
     for (int i = 0; i < MaxENodes; i++)
     {
         EffectNode node = ActiveENodes[i];
         if (node != null)
         {
             node.Reset();
             RemoveActiveNode(node);
         }
     }
     emitter.Reset();
 }
    public void Reset()
    {
        //      Debug.Log("reset");
        if (ActiveENodes == null)
        {
            return;
        }
        for (int i = 0; i < MaxENodes; i++)
        {
            EffectNode node = ActiveENodes[i];
            if (node != null)
            {
                node.Reset();
                RemoveActiveNode(node);
            }
        }
        emitter.Reset();

        mStopped = false;

        doPreWarm();
    }