diff --git a/Runtime/Scripts/Primitives/UISquircle.cs b/Runtime/Scripts/Primitives/UISquircle.cs index 6b3b48d..9ebdef0 100644 --- a/Runtime/Scripts/Primitives/UISquircle.cs +++ b/Runtime/Scripts/Primitives/UISquircle.cs @@ -125,6 +125,7 @@ namespace UnityEngine.UI.Extensions } } +#if UNITY_EDITOR [CustomEditor(typeof(UISquircle))] public class UISquircleEditor : Editor { @@ -135,6 +136,6 @@ namespace UnityEngine.UI.Extensions GUILayout.Label("Vertex count: " + script.vert.Count().ToString()); } } - +#endif } } \ No newline at end of file