1
NGUI 3 Support / Upgrade questions..
« on: October 20, 2016, 08:21:13 PM »
We are in the midst of upgrading from 3.4.8 to 3.10.2 -- Yes, it has been a while. We have run into a couple of questions.
The signature for UICamera Raycast has changed from:
To:
How do I determine what object the raycast hit?
UIPanel's no longer has a hard clipping option. What's the correct way to accomplish a hard clip with texture clipping?
Is there a new equivalent to the formerly available UIPanel.onChange?
Seems like there are a lot of nice new features to play with. Any hidden gotchas for folks who have not upgraded for a while?
The signature for UICamera Raycast has changed from:
- static public bool Raycast (Vector3 inPos, out RaycastHit hit)
- /// <summary>
- /// Returns the object under the specified position.
- /// </summary>
- static public bool Raycast (Vector3 inPos)
How do I determine what object the raycast hit?
UIPanel's no longer has a hard clipping option. What's the correct way to accomplish a hard clip with texture clipping?
Is there a new equivalent to the formerly available UIPanel.onChange?
Seems like there are a lot of nice new features to play with. Any hidden gotchas for folks who have not upgraded for a while?
