Author Topic: Panel Postion Reset after a Animtaion ?  (Read 4145 times)

21be

  • Guest
Panel Postion Reset after a Animtaion ?
« 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? ;)
« Last Edit: April 28, 2013, 10:29:38 AM by 21be »

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
Re: Panel Postion Reset after a Animtaion ?
« Reply #1 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.

21be

  • Guest
Re: Panel Postion Reset after a Animtaion ?
« Reply #2 on: April 28, 2013, 12:58:30 PM »
good times you gave me an example