diff --git a/UiRoundedCorners/ImageWithIndependentRoundedCorners.cs b/UiRoundedCorners/ImageWithIndependentRoundedCorners.cs index fc42bec..921b3de 100644 --- a/UiRoundedCorners/ImageWithIndependentRoundedCorners.cs +++ b/UiRoundedCorners/ImageWithIndependentRoundedCorners.cs @@ -2,7 +2,6 @@ using UnityEngine.UI; namespace Nobi.UiRoundedCorners { - [ExecuteInEditMode] [RequireComponent(typeof(RectTransform))] public class ImageWithIndependentRoundedCorners : MonoBehaviour { private static readonly int prop_halfSize = Shader.PropertyToID("_halfSize"); diff --git a/UiRoundedCorners/ImageWithRoundedCorners.cs b/UiRoundedCorners/ImageWithRoundedCorners.cs index fd0ab97..ebf0813 100644 --- a/UiRoundedCorners/ImageWithRoundedCorners.cs +++ b/UiRoundedCorners/ImageWithRoundedCorners.cs @@ -2,7 +2,6 @@ using UnityEngine.UI; namespace Nobi.UiRoundedCorners { - [ExecuteInEditMode] [RequireComponent(typeof(RectTransform))] public class ImageWithRoundedCorners : MonoBehaviour { private static readonly int Props = Shader.PropertyToID("_WidthHeightRadius");