Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: xiaoniaojjj on January 17, 2014, 08:15:57 AM

Title: [Resolved] Have any sample about the SpriteAnimation?
Post by: xiaoniaojjj on January 17, 2014, 08:15:57 AM
How to set the time every frame?
How to give the sprite name i want?
How to receive the play finish event?
Title: Re: Have any sample about the SpriteAnimation?
Post by: UncleAcid on January 17, 2014, 09:20:23 AM
Quote
How to set the time every frame?
I assume you mean the framerate, just set the framerate/FPS property
Quote
How to give the sprite name i want?
I assume you mean the prefix of the sprites, just set the namePrefix property
Quote
How to receive the play finish event?
Use a Coroutine or Update to check if(!spriteAnimation.IsPlaying){} after starting the animation