I’m trying to create some custom editor tools and I found it is really hard to expend UIElements’s built in VisualElement, because there are too many internal APIs used (beautiful ).
Hope Unity can add this two features:
- Character filter for TextField.
- PopupField with disabled items.
By the way, in UIElements, there are a lot of useful public classes but some of its key method is internal (BasePopupField.AddMenuItems(), TextInputBase, etc.) , why not to make them public?
In BasePopupField.cs, there is a ‘m_Choices’ field and a ‘choices’ property, but many BasePopupField’s child class are using ‘m_Choices’ field directly but not ‘choices’ property, it is really a bad practice !