diff --git a/Scripts/UIParticleUpdater.cs b/Scripts/UIParticleUpdater.cs index 3b66271..2907549 100755 --- a/Scripts/UIParticleUpdater.cs +++ b/Scripts/UIParticleUpdater.cs @@ -211,9 +211,11 @@ namespace Coffee.UIExtensions Profiler.EndSample(); } +#if UNITY_2018_3_OR_NEWER // #102: Do not bake particle system to mesh when the alpha is zero. if (Mathf.Approximately(particle.canvasRenderer.GetInheritedAlpha(), 0)) continue; +#endif // Bake main particles. var r = currentPs.GetComponent();