diff --git a/Samples~/Demo/UIParticleSystem_Demo.cs b/Samples~/Demo/UIParticleSystem_Demo.cs index fd9ebc1..4314bd5 100644 --- a/Samples~/Demo/UIParticleSystem_Demo.cs +++ b/Samples~/Demo/UIParticleSystem_Demo.cs @@ -7,7 +7,7 @@ using UnityEngine.UI; namespace Coffee.UIExtensions.Demos { #if UNITY_5_3_OR_NEWER - [ExecuteInEditMode] + [ExecuteAlways] [RequireComponent(typeof(CanvasRenderer), typeof(ParticleSystem))] public class UIParticleSystem_Demo : MaskableGraphic { diff --git a/Scripts/UIParticle.cs b/Scripts/UIParticle.cs index 94e0dd3..7e1dbd5 100755 --- a/Scripts/UIParticle.cs +++ b/Scripts/UIParticle.cs @@ -17,7 +17,7 @@ namespace Coffee.UIExtensions /// /// Render maskable and sortable particle effect ,without Camera, RenderTexture or Canvas. /// - [ExecuteInEditMode] + [ExecuteAlways] [RequireComponent(typeof(RectTransform))] [RequireComponent(typeof(CanvasRenderer))] public class UIParticle : MaskableGraphic