Свойство | Type | Description | |
---|---|---|---|
_currentFrame | int | ||
_frameRects | Rect[] | ||
_frameTick | float | ||
_height | float | ||
_lastFrame | int | ||
_width | float | ||
looping | bool | ||
playAnimation | bool |
Méthode | Description | |
---|---|---|
Awake ( ) : void | ||
Components ( ) : void | ||
Frame_check ( ) : void | ||
Frame_draw ( ) : void | ||
MESH_refresh ( ) : void | ||
MESH_setup ( Rect UVrect ) : void | ||
MESH_setup ( float width, float height, Rect UVrect ) : void | ||
MeshUpdate ( ) : void | ||
OnDisable ( ) : void | ||
OnEnable ( ) : void | ||
PixelCoordToUVCoord ( Vector2 xy ) : Vector2 | ||
PixelSpaceToUVSpace ( Vector2 xy ) : Vector2 | ||
ResetFrameTime ( ) : void | ||
Update ( ) : void |
Méthode | Description | |
---|---|---|
Frame_calc ( ) : void | ||
UV_setup ( ) : Vector2[] |
public MESH_setup ( float width, float height, Rect UVrect ) : void | ||
width | float | |
height | float | |
UVrect | Rect | |
Résultat | void |
public PixelCoordToUVCoord ( Vector2 xy ) : Vector2 | ||
xy | Vector2 | |
Résultat | Vector2 |
public PixelSpaceToUVSpace ( Vector2 xy ) : Vector2 | ||
xy | Vector2 | |
Résultat | Vector2 |