Author Topic: Sprites, atlas and animation  (Read 1733 times)


  • Newbie
  • *
  • Thank You
  • -Given: 10
  • -Receive: 0
  • Posts: 27
    • View Profile
Sprites, atlas and animation
« on: May 19, 2016, 03:43:48 AM »

I need to put into NGUI a lot of sprites about a flag and animate it, I have the sprites, the anim file and the anim controller.

I create a atlas with Atlas Maker and put into it the sprites, then....? I tried to put in a gameobject a UIButton and a UIPlayAnimation but in this last the anim file and/or the anim controller not are accepted. Why? And the atlas where I can put?

I'm sorry but I have a bit of confusion. I don't want to use the animation out of NGUI because my GUI is ALL NGUI.

Please, help me.



  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Sprites, atlas and animation
« Reply #1 on: May 21, 2016, 09:40:00 PM »
UISpriteAnimation/UI2DSpriteAnimation can be used for basic sprite animations.

UIPlayAnimation is used to play Unity animations, not sprite animations.