Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Maxii on November 08, 2014, 02:53:32 PM
-
I've just encountered a situation where the gameObject sent with the onPress delegate can be null even with a gameObject assigned as the fallthrough. While I can filter it out, I wanted to mention it as it could be a bug unless intended to operate that way. Looking at the UICamera code, I can see you choose to send out a onPress(false) before sending a onPress(true) which clearly is intended. (Not sure why, but I am sure there is a reason :D). I'm seeing the null gameObject when the initial onPress(go, false) is raised.
-
Thanks, I'll add a check for it.