Public Attributes | |
string | name |
Name of the animation. | |
int | loopCycles = 0 |
Loop cycles. See loopCycles member of UVAnimation. | |
bool | loopReverse = false |
See loopReverse member of UVAnimation. | |
float | framerate = 15f |
The framerate at which the animation should play in frames per second. | |
UVAnimation.ANIM_END_ACTION | onAnimEnd = UVAnimation.ANIM_END_ACTION.Do_Nothing |
What the sprite should do when the animation is done playing. The options are to: 1) Do nothing, 2) return to the static image, 3) play the default animation. |
Defines an animation composed of individual textures. This is primarily used for atlas compilation and is not used at run-time except for initialization.
float TextureAnim.framerate = 15f |
The framerate at which the animation should play in frames per second.
int TextureAnim.loopCycles = 0 |
Loop cycles. See loopCycles member of UVAnimation.
bool TextureAnim.loopReverse = false |
See loopReverse member of UVAnimation.
string TextureAnim.name |
Name of the animation.
UVAnimation.ANIM_END_ACTION TextureAnim.onAnimEnd = UVAnimation.ANIM_END_ACTION.Do_Nothing |
What the sprite should do when the animation is done playing. The options are to: 1) Do nothing, 2) return to the static image, 3) play the default animation.