Hi ArenMook,
Back in July I asked this question regarding the NGUI license:
http://www.tasharen.com/forum/index.php?topic=5022.msg24072#msg24072Part of that answer was being told that inheriting from NGUI but not including NGUI was the way to go. That made perfect sense when talking about creating controls using sprites, labels and inputs.
I'm working with the UIInput class. I'm looking to keep all the functionality of the current UIInput class but add functionality to it. So far I've been able to accomplish alot of what I want via adding scripts but I ran into a wall when trying to insert newly input text into an existing string in the UIInput field. I've been trying to capture/move the new text in OnInputChanged but it seems as though I'm creating overhead when I should be working with Append in UIInput directly.
I can derive from UIInput and then implement what I need, but Append is private and I'd need to modify the NGUI source code to allow override which I'd like to avoid - thinking that if you wanted functions to be overridden, you would have written them that way. Plus sharing the code later adds a step for anyone using it... something else I'd like to avoid.
In this case, how do I proceed? Do I just need to deal with telling folks to modify NGUI source code later so that I can extend as needed or is there something I'm missing?
Any help is appreciated!