diff --git a/CHANGELOG.md b/CHANGELOG.md index c9a2e1c..b4a1560 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [4.0.0-preview.10](https://github.com/mob-sakai/UIEffect/compare/v4.0.0-preview.9...v4.0.0-preview.10) (2023-11-09) + + +### Bug Fixes + +* ExecuteInEditMode to ExecuteAlways ([c750810](https://github.com/mob-sakai/UIEffect/commit/c75081095f580b12730b06f9a668a991bb5e8fe6)) + # [4.0.0-preview.9](https://github.com/mob-sakai/UIEffect/compare/v4.0.0-preview.8...v4.0.0-preview.9) (2020-06-09) diff --git a/Scripts/Common/BaseMeshEffect.cs b/Scripts/Common/BaseMeshEffect.cs index 40d4e66..c9ca84c 100644 --- a/Scripts/Common/BaseMeshEffect.cs +++ b/Scripts/Common/BaseMeshEffect.cs @@ -11,7 +11,7 @@ namespace Coffee.UIEffects /// [RequireComponent(typeof(Graphic))] [RequireComponent(typeof(RectTransform))] - [ExecuteInEditMode] + [ExecuteAlways] public abstract class BaseMeshEffect : UIBehaviour, IMeshModifier { RectTransform _rectTransform; diff --git a/Scripts/UIEffect.cs b/Scripts/UIEffect.cs index 63a8ccc..322d3e8 100644 --- a/Scripts/UIEffect.cs +++ b/Scripts/UIEffect.cs @@ -15,7 +15,7 @@ namespace Coffee.UIEffects /// /// UIEffect. /// - [ExecuteInEditMode] + [ExecuteAlways] [RequireComponent(typeof(Graphic))] [DisallowMultipleComponent] [AddComponentMenu("UI/UIEffects/UIEffect", 1)] diff --git a/Scripts/UISyncEffect.cs b/Scripts/UISyncEffect.cs index ada9be8..5af2860 100644 --- a/Scripts/UISyncEffect.cs +++ b/Scripts/UISyncEffect.cs @@ -9,7 +9,7 @@ namespace Coffee.UIEffects /// /// Dissolve effect for uGUI. /// - [ExecuteInEditMode] + [ExecuteAlways] public class UISyncEffect : BaseMaterialEffect { [Tooltip("The target effect to synchronize.")] [SerializeField] diff --git a/package.json b/package.json index a97ce8e..df968d4 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "com.coffee.ui-effect", "displayName": "UI Effect", "description": "UI Effect provides visual effect components for Unity UI.\nLet's decorate your UI with effects!", - "version": "4.0.0-preview.9", + "version": "4.0.0-preview.10", "unity": "2017.1", "license": "MIT", "repository": {