C# Class kTileDynamic, Unity3D

Inheritance: MonoBehaviour
Afficher le fichier Open project: k-lock/Unity3D Class Usage Examples

Méthodes publiques

Свойство Type Description
_currentFrame int
_frameRects Rect[]
_frameTick float
_height float
_lastFrame int
_width float
looping bool
playAnimation bool

Méthodes publiques

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

Private Methods

Méthode Description
Frame_calc ( ) : void
UV_setup ( ) : Vector2[]

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

Components() public méthode

public Components ( ) : void
Résultat void

Frame_check() public méthode

public Frame_check ( ) : void
Résultat void

Frame_draw() public méthode

public Frame_draw ( ) : void
Résultat void

MESH_refresh() public méthode

public MESH_refresh ( ) : void
Résultat void

MESH_setup() public méthode

public MESH_setup ( Rect UVrect ) : void
UVrect Rect
Résultat void

MESH_setup() public méthode

public MESH_setup ( float width, float height, Rect UVrect ) : void
width float
height float
UVrect Rect
Résultat void

MeshUpdate() public méthode

public MeshUpdate ( ) : void
Résultat void

OnDisable() public méthode

public OnDisable ( ) : void
Résultat void

OnEnable() public méthode

public OnEnable ( ) : void
Résultat void

PixelCoordToUVCoord() public méthode

public PixelCoordToUVCoord ( Vector2 xy ) : Vector2
xy Vector2
Résultat Vector2

PixelSpaceToUVSpace() public méthode

public PixelSpaceToUVSpace ( Vector2 xy ) : Vector2
xy Vector2
Résultat Vector2

ResetFrameTime() public méthode

public ResetFrameTime ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

_currentFrame public_oe property

public int _currentFrame
Résultat int

_frameRects public_oe property

public Rect[] _frameRects
Résultat Rect[]

_frameTick public_oe property

public float _frameTick
Résultat float

_height public_oe property

public float _height
Résultat float

_lastFrame public_oe property

public int _lastFrame
Résultat int

_width public_oe property

public float _width
Résultat float

looping public_oe property

public bool looping
Résultat bool

playAnimation public_oe property

public bool playAnimation
Résultat bool