Author Topic: UI2DSprite + Animator  (Read 1467 times)

Caio.Lib

  • Newbie
  • *
  • Thank You
  • -Given: 7
  • -Receive: 2
  • Posts: 26
    • View Profile
UI2DSprite + Animator
« on: March 12, 2014, 09:03:04 PM »
Hi,
How could I use Unity's Animation with UI2DSprite instead of adding frames using UI2DSprite Animation?
For now I'm using Unity's Sprite with Animator component. I'm trying to use Animations with NGUI because is easier to deal with multiples resolutions.
Thank you!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UI2DSprite + Animator
« Reply #1 on: March 12, 2014, 09:39:18 PM »
Set the UI2DSprite.nextSprite field. I'm not sure if it will show in the animator though. I vaguely recall that Unity's 2D system in 4.3 is not meant to be animated outside the provided sprite renderer. The sprite system in 4.3 is extremely limited, and I don't advise anyone using this feature until the next release of Unity -- 4.5 or 4.6.