Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: pcutile on October 31, 2016, 06:04:32 AM

Title: Tweens concat
Post by: pcutile on October 31, 2016, 06:04:32 AM
from documentation:

You can have tweens trigger each other in a daisy chain by having one tween's OnFinished notification trigger another tween's Play() function.

I make this with a tweenposition that when end must be activate (and play) another trigger with tween alpha and when this finished active another trigger position.

BUt i have this--

Could not find method 'Play' on TweenAlpha.  <------------------ ERROR IN EDITOR LOG

First of all fr play a must set all tween on, so every tween begin at the same time.

tweenposition--->>tweenalpha---->tweenposition

this is what i want, and they seems works (if i make it all enabled frm begin), but in editor it show the above error, and each tween begin at init and so it's played always. why can't activate tween when on fnished the previos?
Title: Re: Tweens concat
Post by: ArenMook on November 03, 2016, 08:05:51 AM
The Play function expects a parameter. Use PlayForward or PlayReverse instead.
Title: Re: Tweens concat
Post by: pcutile on November 30, 2016, 05:23:56 AM
Thanks Aren Mook, consider hovewer that is not clear via documentation.