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

Pages: [1]
NGUI 3 Support / Re: UIButton not work in Display 2
« on: October 22, 2019, 11:14:51 AM »
Only the atlas should use truecolor. Background doesn't have to (which is another reason I suggest moving it out of your atlas).

If the background isn't truecolor, though, wouldn't it get fuzzy?  it's still part of the UI.  Won't iOS use PVRTC and make it look crappy?

Hello.  I'm new to NGUI and have inherited some code.  After some digging I *think* I'm on a bug in NGUI?

I have some code that programmatically Tweens In and Tweens Out a GameObject hierarchy of NGUI widgets.  On Tween Out, we'd like to disable input during the tween.  However when we disable the camera, we never see the OnComplete:

  1.         uiCamera.enabled = false;
  3.         outTweener.enabled = true;
  4.         outTweener.onFinished.Add(new EventDelegate(this, "OnTweenFinished"));
  5.         outTweener.Play(false);

If we do not disable the camera, OnTweenFinished will be played.  Hmm.

A few more details:
* this is new with our upgrade from 3.7.4 to 3.11.4.  Although we were getting sporadic "GUI lockups" in the past that we seem to be avoiding by not disabling the camera.  But one can never be sure.  With the upgrade we are seeing this always.
* The Tween In code is working even when the camera is disabled.  It runs programatically also.  There is an exit button which calls to Tween Out.

Thanks for any ideas!

Pages: [1]