Author Topic: Can't assign animation on UIToggle component (Legacy?)  (Read 3274 times)

Santos

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 4
    • View Profile
Can't assign animation on UIToggle component (Legacy?)
« on: February 20, 2015, 11:19:41 AM »
I created an animation for a toggle button, expecting it to play forward/reverse whenever i toggle it on/off. However I can't assign the animation object to this component, like if it is not compatible.

I wonder if NGUI is still using legacy animations, if so, how can I convert mine or create new one using the old system?


Thanks,

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Can't assign animation on UIToggle component (Legacy?)
« Reply #1 on: February 21, 2015, 08:19:24 AM »
You're right, I never updated that component to take advantage of the Unity's altered animation system. I'll do that for the next update.