From b308b2683372662bb834b6f6d23ea3435a68d1b3 Mon Sep 17 00:00:00 2001 From: mob-sakai Date: Mon, 14 Aug 2023 15:43:18 +0900 Subject: [PATCH] fix: sub-emitters option is not work in editor playing close #231 --- Scripts/UIParticleRenderer.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Scripts/UIParticleRenderer.cs b/Scripts/UIParticleRenderer.cs index 269e4a8..83c8548 100644 --- a/Scripts/UIParticleRenderer.cs +++ b/Scripts/UIParticleRenderer.cs @@ -520,6 +520,8 @@ namespace Coffee.UIExtensions _prewarm = false; } + // (COMMENT OUT) #231: Sub Emitters option is not work in editor playing + /* // Emitted particles found. if (_prevParticleCount != _particleSystem.particleCount) { @@ -535,6 +537,7 @@ namespace Coffee.UIExtensions _particleSystem.SetParticles(particles, size); } + */ // get world position. var psTransform = _particleSystem.transform;