Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - timsk

Pages: [1]
1
NGUI 3 Support / Re: [NGUI 3.5.5] UIAnchor OnScreenSizeChanged
« on: April 18, 2014, 06:25:37 PM »
Glad i asked before doing it. Thanks a lot dude!

2
NGUI 3 Support / [NGUI 3.5.5] UIAnchor OnScreenSizeChanged
« on: April 18, 2014, 01:58:51 PM »
Hi,

We are making good use of the new anchoring system but are running into performance issues.

90% of our anchored widgets only need to update their anchors when the screen size changes. I'm going to be adding an option to UIAnchor to only update when it receives OnScreenSizeChanged from Unity. Before I start doing this, are there any reasons why this is not an option already? Are there any pitfalls I might run into?

I just want to be careful, as I'm going to be making a big change to how anchors behave at the root class (UIRect), so any issues will affect everything in the UI.

Thanks.

Pages: [1]