diff --git a/Scripts/UIParticleUpdater.cs b/Scripts/UIParticleUpdater.cs index 1428407..ef4f6e7 100755 --- a/Scripts/UIParticleUpdater.cs +++ b/Scripts/UIParticleUpdater.cs @@ -241,6 +241,10 @@ namespace Coffee.UIExtensions var hash = currentPs.GetMaterialHash(true); if (hash != 0) { + matrix = currentPs.main.simulationSpace == ParticleSystemSimulationSpace.Local + ? matrix * Matrix4x4.Translate(-currentPs.transform.position) + : matrix; + var m = MeshHelper.GetTemporaryMesh(); try {