diff --git a/Runtime/UIParticle.cs b/Runtime/UIParticle.cs index b90a309..3f3ffa6 100644 --- a/Runtime/UIParticle.cs +++ b/Runtime/UIParticle.cs @@ -543,7 +543,9 @@ namespace Coffee.UIExtensions for (var i = particles.Count - 1; 0 <= i; i--) { var ps = particles[i]; - if (!ps || ps.GetComponentInParent(true) != this) + if (!ps + || ps.gameObject.CompareTag("EditorOnly") // Ignore "EditorOnly" tagged ParticleSystems. + || ps.GetComponentInParent(true) != this) // Ignore ParticleSystems that are not under this UIParticle. { particles.RemoveAt(i); }