add UNITY EDITOR preproc
parent
8ea54def05
commit
f5a6795e14
|
@ -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