Skip to content

Commit 10116ba

Browse files
authored
Merge pull request kirevdokimov#38 from Feddas/master
No more "Risk of unwanted modifications" popup while using inside a prefab
2 parents 33acbfe + 4c2f6f8 commit 10116ba

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

UiRoundedCorners/ImageWithIndependentRoundedCorners.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using UnityEngine.UI;
33

44
namespace Nobi.UiRoundedCorners {
5-
[ExecuteInEditMode]
65
[RequireComponent(typeof(RectTransform))]
76
public class ImageWithIndependentRoundedCorners : MonoBehaviour {
87
private static readonly int prop_halfSize = Shader.PropertyToID("_halfSize");

UiRoundedCorners/ImageWithRoundedCorners.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using UnityEngine.UI;
33

44
namespace Nobi.UiRoundedCorners {
5-
[ExecuteInEditMode]
65
[RequireComponent(typeof(RectTransform))]
76
public class ImageWithRoundedCorners : MonoBehaviour {
87
private static readonly int Props = Shader.PropertyToID("_WidthHeightRadius");

0 commit comments

Comments
 (0)