Exemple #1
0
    public void StopEmit()
    {
        mStopped = true;

        if (IsNodeLifeLoop)
        {
            for (int i = 0; i < MaxENodes; i++)
            {
                EffectNode node = ActiveENodes[i];
                if (node == null)
                {
                    continue;
                }
                node.Stop();
            }
        }
        emitter.StopEmit();
    }