Author Topic: UIPlayAnimation in 3.x vs UIButtonPlayAnimation  (Read 2389 times)

Mitch

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
UIPlayAnimation in 3.x vs UIButtonPlayAnimation
« on: October 03, 2013, 08:02:33 PM »
Events in 3.x are killing me...   >:(

The onFinished event used to send an ActiveAnimation object with it which enabled me to determine the GameObject that had just finished play its animation...  Now I have absolutely no way to determine exactly which animation just finished.

UIToggle.current.value seems to be the method for porting this behaviour from 2.x from the porting video that was posted.  UIPlayAnimation seems to not support the same features.

I am disappointed :(

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIPlayAnimation in 3.x vs UIButtonPlayAnimation
« Reply #1 on: October 04, 2013, 02:05:50 AM »
ActiveAnimation.current gives you which animation has completed. It's always Something.current.