Property | Type | Description | |
---|---|---|---|
cols | int | ||
pixelsToNextColumnAndRow | Vector2 | ||
rows | int | ||
start | Vector2 | ||
totalCells | int |
Method | Description | |
---|---|---|
BuildUVAnim ( SpriteRoot, s ) : SPRITE_FRAME[] |
Uses the information stored in this class to build a UV animation for the specified sprite.
|
|
Clone ( ) : UVAnimation_Auto, | ||
UVAnimation_Auto ( ) : UnityEngine | ||
UVAnimation_Auto ( UVAnimation_Auto, anim ) : UnityEngine |
public BuildUVAnim ( SpriteRoot, s ) : SPRITE_FRAME[] | ||
s | SpriteRoot, | The sprite for which the animation will be built. |
return | SPRITE_FRAME[] |
public UVAnimation_Auto ( UVAnimation_Auto, anim ) : UnityEngine | ||
anim | UVAnimation_Auto, | |
return | UnityEngine |