diff --git a/Scripts/UIParticle.cs b/Scripts/UIParticle.cs index f8ecbe56..57536094 100644 --- a/Scripts/UIParticle.cs +++ b/Scripts/UIParticle.cs @@ -323,9 +323,13 @@ internal void UpdateRenderers() { if (!isActiveAndEnabled) return; - if (m_Renderers.Any(x => !x)) + foreach (var rend in m_Renderers) { - RefreshParticles(particles); + if (!rend) + { + RefreshParticles(particles); + break; + } } var bakeCamera = GetBakeCamera();