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.


Topics - eppz!

Pages: [1]
1
Hi there,
I have some completion view that is to be presented very often.

Currently I simply Disable the root GameObject, then animation Enables it upon presentation.  :-\

I'm curious if there is some more performant ways of this originating from the engine itself (turn off Panel component? Clip Panel? Move offscreen? Zero alpha?).

Thanks,
NGUI is still more performant than uGUI.

2
NGUI 3 Support / Change UIWidget anchor target on the fly?
« on: July 21, 2016, 04:35:10 PM »
I have a moving (scrolling) widget, and I want to "stick" some sprite to it at a certain time.

I did this...

  1. void Update()
  2. {
  3.         Transform target = (followPushTransform) ? layout.pushTransform : layout.anchorTransform;
  4.         sprite.topAnchor.target = target;
  5.         sprite.bottomAnchor.target = target;
  6. }

...but the sprite refused to move along the widget. I can see the targets update just right on the inspector, but the sprite don't get "stuck". Should I call some widget call on the sprite after adjustment (I tried `UpdateAnchors` with no luck)?

Pages: [1]