Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: binsint on April 24, 2013, 03:00:02 AM

Title: NGUI Help
Post by: binsint on April 24, 2013, 03:00:02 AM
hi, i am new to NGUI.. but i am learning gradually... how do i execute TweenAlpha once my TweenPosition is finished? i want to tween pos first then fade it out... how can i do it? thanks
Title: Re: NGUI Help
Post by: alexlange on April 24, 2013, 03:18:23 AM
You can find "Event Receiver" and "Can when Finished" in Tween scripts.
I didn't try this but i guess that's what you need.
Give it a try :)
Title: Re: NGUI Help
Post by: binsint on April 24, 2013, 03:54:07 AM
ive tried it and its giving me null error :( :( ...
Title: Re: NGUI Help
Post by: binsint on April 24, 2013, 04:23:17 AM
I got it! 

disable TweenAlpha on your object 1st so it wont play automatically...

and put this code on:
  1. UILabel.alpha = 1;
  2. TweenAlpha.Begin(UILabel.gameObject,float duration,float alpha);

it will play the same tween everytime this code is called...
hope it can help you guys too.. :)