Author Topic: Problem with NGUI and standart Unity Animation pipeline  (Read 6982 times)

artfabrique

  • Newbie
  • *
  • Thank You
  • -Given: 5
  • -Receive: 0
  • Posts: 45
    • View Profile
Problem with NGUI and standart Unity Animation pipeline
« on: October 15, 2015, 04:18:42 AM »
Hello!
We've noticed that when you create Animation for NGUI sprite there are no width and height property in the list so we ended in animating scale. There was an "aspect ratio" property available but since sprite is set to "free" aspect ratio- changing in does nothing.
So is there any way to animate width and height?

Thanks!

BeShifty

  • Jr. Member
  • **
  • Thank You
  • -Given: 5
  • -Receive: 7
  • Posts: 52
    • View Profile
Re: Problem with NGUI and standart Unity Animation pipeline
« Reply #1 on: October 15, 2015, 12:57:24 PM »
I believe you want the AnimatedWidget component. Attach it to the widget's GameObject, and animate its values instead.