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(); }
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(); }