Skip to content

Commit

Permalink
fix: ExecuteInEditMode to ExecuteAlways
Browse files Browse the repository at this point in the history
  • Loading branch information
mob-sakai committed Nov 9, 2023
1 parent c70efa4 commit c750810
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Packages/UIEffect/Scripts/Common/BaseMeshEffect.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Coffee.UIEffects
/// </summary>
[RequireComponent(typeof(Graphic))]
[RequireComponent(typeof(RectTransform))]
[ExecuteInEditMode]
[ExecuteAlways]
public abstract class BaseMeshEffect : UIBehaviour, IMeshModifier
{
RectTransform _rectTransform;
Expand Down
2 changes: 1 addition & 1 deletion Packages/UIEffect/Scripts/UIEffect.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace Coffee.UIEffects
/// <summary>
/// UIEffect.
/// </summary>
[ExecuteInEditMode]
[ExecuteAlways]
[RequireComponent(typeof(Graphic))]
[DisallowMultipleComponent]
[AddComponentMenu("UI/UIEffects/UIEffect", 1)]
Expand Down
2 changes: 1 addition & 1 deletion Packages/UIEffect/Scripts/UISyncEffect.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Coffee.UIEffects
/// <summary>
/// Dissolve effect for uGUI.
/// </summary>
[ExecuteInEditMode]
[ExecuteAlways]
public class UISyncEffect : BaseMaterialEffect
{
[Tooltip("The target effect to synchronize.")] [SerializeField]
Expand Down

0 comments on commit c750810

Please sign in to comment.