Author Topic: Tween Animation  (Read 3056 times)

laurentl

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 188
    • View Profile
    • McDROID
Tween Animation
« on: April 04, 2013, 05:04:26 PM »
5 NGUI elements are moving in unison when a tween event is fired up.
Currently I use many many tweens to get the effect I want and it is time consuming.
Is there a tween script that plays a unity animation ? (responds to the tween group and plays one forwards animation for fwd, one backwards animation for backwardsetc...)

Thanks.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Tween Animation
« Reply #1 on: April 05, 2013, 12:05:47 PM »
UIButtonPlayAnimation. Or just ActiveAnimation.Play() what you want.

laurentl

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 188
    • View Profile
    • McDROID
Re: Tween Animation
« Reply #2 on: April 05, 2013, 05:05:33 PM »
Awesome !
ActiveAnimation.Play() is nice and easy!