1
NGUI 3 Support / Re: UIPanel.IsVisible considerations
« on: May 01, 2015, 10:18:26 AM »
Sure I already considered that but the private fields in UIPanel makes it not possible.
I guess the next question would be why don't I just modify the NGUI source. We try to avoid modifying/branching any third party plugin just to avoid headaches merging and updating the plugins later on (I guess you've heard this one million times already). Obviously if we are doing major changes or refactoring to it then we'll do that but this change we feel is something that NGUI can incorporate very easily as an improvement.
Right now it just doesn't make sense that when checking a point it takes clipping into account but not when checking 4 points (a rectangle). Currently you need to read the source code to understand the distinction. Inconsistency is my key point here that makes the code as it stands more confusing than necessary.
I guess the next question would be why don't I just modify the NGUI source. We try to avoid modifying/branching any third party plugin just to avoid headaches merging and updating the plugins later on (I guess you've heard this one million times already). Obviously if we are doing major changes or refactoring to it then we'll do that but this change we feel is something that NGUI can incorporate very easily as an improvement.
Right now it just doesn't make sense that when checking a point it takes clipping into account but not when checking 4 points (a rectangle). Currently you need to read the source code to understand the distinction. Inconsistency is my key point here that makes the code as it stands more confusing than necessary.



