Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: amirivala on October 27, 2014, 02:47:18 PM

Title: TweenPosition And UI Play Problem
Post by: amirivala on October 27, 2014, 02:47:18 PM
Hi,
I have a problems,i have a UIBUtton that has a Tween Position and UIPLAY Tween (That Control lots of Other GameObjects position), I Don't know why when i pressed the button, it start to play TWEEN POSITION and after TweenPosition Finished it starts to play the UIPLAY tweens.
what i want is both of them play at the same time, not now after another.
Please Please help me, i don't know what to do
thanks
appreciate it.
Title: Re: TweenPosition And UI Play Problem
Post by: ArenMook on October 29, 2014, 05:00:46 AM
I see no reason for that unless you set it up like that. What is the TweenPosition's OnFinished set to call?
Title: Re: TweenPosition And UI Play Problem
Post by: amirivala on October 30, 2014, 11:40:33 AM
I Know its my problem with On Finished call, what i wanted to do and i don't know how to do it is, when i press the light bulb, both of them start to move, in the scene that Ive uploaded screen shots from it, First Lightbulb move to center when its finished Notf button starts to go to center, please help me and explain how to make both of them move at the same time
Appreciate it
Title: Re: TweenPosition And UI Play Problem
Post by: ArenMook on October 30, 2014, 01:06:54 PM
UIPlayTween can trigger a remote tween. You can either specify a root object, set "include children" and give your tweens a group ID, or have multiple UIPlayTween components attached to the same button.