C# Class TileAnim, Unity3D

Inheritance: TileBase
Show file Open project: k-lock/Unity3D Class Usage Examples

Public Properties

Property Type Description
_currentFrame int
_frameRects Rect[]
_frameTick float
_lastFrame int
looping bool
playAnimation bool

Public Methods

Method Description
ResetFrameTime ( ) : void

Protected Methods

Method Description
UV_rect ( ) : Rect
Update ( ) : void

Private Methods

Method Description
Frame_calc ( ) : void
Frame_check ( ) : void
Frame_draw ( ) : void

Method Details

ResetFrameTime() public method

public ResetFrameTime ( ) : void
return void

UV_rect() protected method

protected UV_rect ( ) : Rect
return Rect

Update() protected method

protected Update ( ) : void
return void

Property Details

_currentFrame public property

public int _currentFrame
return int

_frameRects public property

public Rect[] _frameRects
return Rect[]

_frameTick public property

public float _frameTick
return float

_lastFrame public property

public int _lastFrame
return int

looping public property

public bool looping
return bool

playAnimation public property

public bool playAnimation
return bool