Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: 21be on April 28, 2013, 08:46:55 AM

Title: Panel Postion Reset after a Animtaion ?
Post by: 21be on April 28, 2013, 08:46:55 AM
Hello,

how can I live position of a panel, after an animation reset to the original position?

I have a test made ​​with 3 panels, top, bottom, bottom. If I do the panel (above) and then views the button operated does not open the new panel (bottom) but not other postion 0.0.0 as the first but 260.0.0 regarding the exact length of the animation.

How I can do it all remain the panels in position 0.0.0? After I an animation "Window - Back" - have played or "Forward Window".

But I have my 3 for often viewed'll unfortunately not smart drauss not tween the UI button script

Maybe someone can help me? ;)
Title: Re: Panel Postion Reset after a Animtaion ?
Post by: jeldrez on April 28, 2013, 11:49:40 AM
You can add scripts to keyframes animations. So create a script to reset your panel position and call it from the animations.
Title: Re: Panel Postion Reset after a Animtaion ?
Post by: 21be on April 28, 2013, 12:58:30 PM
good times you gave me an example