Author Topic: Daisychain tween animations together?  (Read 2859 times)

Jezzah

  • Guest
Daisychain tween animations together?
« on: August 28, 2013, 10:27:49 AM »
Hi ,

I am quite new to NGUI, I have had a look at the examples and read the docs, but I'm having trouble working out how to chain tweens together in ngui.

I would like to press a button and have a panel scale from 40 pixels square upto screen width and then when the horizontal scale is finished I would like to scale the panel vertically to screen height.

Then when I press the button again to close the panel I would like the sequence of tweens to play in reverse.

Please can you tell me if this is easily achievable using the default ngui behaviour or will I need to write custom scripts.


Thank you

Jeremy

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Daisychain tween animations together?
« Reply #1 on: August 28, 2013, 12:52:01 PM »
You should make a custom manager script, but that script can use the default tweens to do the animation.