Merged in release (pull request #89)
Squircle: add UNITY EDITOR preprocess Approved-by: Simon Jacksonpull/413/head
commit
b9ad53470f
|
@ -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
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue