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 - Anubis

Pages: [1]
1
NGUI 3 Support / Semi-transparent widget look
« on: April 05, 2016, 01:19:29 AM »
When widget is not fully opaque (while fading for example) it looks like this which isn't cool. How to «flatten» its alpha?

2
NGUI 3 Support / Re: How to update anchors properly?
« on: September 22, 2015, 11:09:52 PM »
I see no difference. And in some situations even waiting for next frame before updating container's anchors gives no effect.

3
NGUI 3 Support / Re: How to update anchors properly?
« on: September 17, 2015, 05:03:28 AM »
The only way I've made it work correctly at this moment is by using coroutine to wait a frame and then update container's anchors:

moneyLabel.UpdateAnchors();
yield return new WaitForEndOfFrame();
moneyBlock.UpdateAnchors();

Is there any better solution?

4
NGUI 3 Support / How to update anchors properly?
« on: September 17, 2015, 04:05:45 AM »
Trying to manually update anchors for widgets. In some cases they ignoring command <UpdateAnchors>. If I just use «Execute <OnUpdate>» policy on them, they updating in second frame, which causing some ugly looking lag.

Repositioning works only if child labels set to OnEnable and parent container set to OnUpdate. I'd like to update them all manually only when updating labels content.

Maybe I'm blind, but can't see any anchor tutorials. Please help and tell me how to order widgets update their anchors. Thanks.

Pages: [1]