From a757539246f8de2ab5271d50eb27860c52e98c60 Mon Sep 17 00:00:00 2001 From: "Simon (darkside) Jackson" Date: Mon, 28 Sep 2020 14:45:01 +0100 Subject: [PATCH] Fix for UI Particle system looping Resolves #342 --- Runtime/Scripts/Effects/UIParticleSystem.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Runtime/Scripts/Effects/UIParticleSystem.cs b/Runtime/Scripts/Effects/UIParticleSystem.cs index 95c3a0e..6bd1897 100644 --- a/Runtime/Scripts/Effects/UIParticleSystem.cs +++ b/Runtime/Scripts/Effects/UIParticleSystem.cs @@ -387,6 +387,7 @@ namespace UnityEngine.UI.Extensions public void StartParticleEmission() { + pSystem.time = 0; pSystem.Play(); }