From fb7f308f092db8a1512383857b80110cd626ecf9 Mon Sep 17 00:00:00 2001 From: mob-sakai Date: Tue, 28 Jun 2022 00:20:37 +0900 Subject: [PATCH] fix: incorrect position of world space trail particles close #209 --- Scripts/UIParticleRenderer.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Scripts/UIParticleRenderer.cs b/Scripts/UIParticleRenderer.cs index 95f39d7..c56f62a 100644 --- a/Scripts/UIParticleRenderer.cs +++ b/Scripts/UIParticleRenderer.cs @@ -461,14 +461,6 @@ namespace Coffee.UIExtensions _prewarm = false; } - // Normal simulation for non-scaling or local spacing. - var isScaling = scale != Vector3.one; - if (!isScaling || _particleSystem.GetActualSimulationSpace() == ParticleSystemSimulationSpace.Local) - { - _particleSystem.Simulate(deltaTime, false, false, false); - return; - } - // Emitted particles found. if (_prevParticleCount != _particleSystem.particleCount) {