Hi,
We are using fixed font size, so I have replaced the UILabel size filed by an enum (Small, Medium, Large).
It was easier to extend UILabel but I had to modify UILabelInspector to allow my class to use it. And i'd rather not modify NGUI source code so could you possibly make it easier to extend it ?
1) [CustomEditor(typeof(UILabelAOE), true)]
to
[CustomEditor(typeof(UILabelAOE), false)]
otherwise it will always use UILabelInspector
2) Make mFontTypeAoE and mLabelAoE protected
3) Also make OnNGUIFont and OnUnityFont protected
I had to copy/paste ShouldDrawProperties to add my changes but that is not a big deal
Thank you