Merged in release (pull request #89)

Squircle: add UNITY EDITOR preprocess

Approved-by: Simon Jackson
pull/413/head
Andrei Soprachev 2020-08-19 00:24:15 +00:00 committed by Simon Jackson
commit b9ad53470f
1 changed files with 2 additions and 1 deletions

View File

@ -125,6 +125,7 @@ namespace UnityEngine.UI.Extensions
} }
} }
#if UNITY_EDITOR
[CustomEditor(typeof(UISquircle))] [CustomEditor(typeof(UISquircle))]
public class UISquircleEditor : Editor public class UISquircleEditor : Editor
{ {
@ -135,6 +136,6 @@ namespace UnityEngine.UI.Extensions
GUILayout.Label("Vertex count: " + script.vert.Count().ToString()); GUILayout.Label("Vertex count: " + script.vert.Count().ToString());
} }
} }
#endif
} }
} }