C# 클래스 kTileDynamic, Unity3D

상속: MonoBehaviour
파일 보기 프로젝트 열기: k-lock/Unity3D 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
_currentFrame int
_frameRects Rect[]
_frameTick float
_height float
_lastFrame int
_width float
looping bool
playAnimation bool

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
Frame_calc ( ) : void
UV_setup ( ) : Vector2[]

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

Components() 공개 메소드

public Components ( ) : void
리턴 void

Frame_check() 공개 메소드

public Frame_check ( ) : void
리턴 void

Frame_draw() 공개 메소드

public Frame_draw ( ) : void
리턴 void

MESH_refresh() 공개 메소드

public MESH_refresh ( ) : void
리턴 void

MESH_setup() 공개 메소드

public MESH_setup ( Rect UVrect ) : void
UVrect Rect
리턴 void

MESH_setup() 공개 메소드

public MESH_setup ( float width, float height, Rect UVrect ) : void
width float
height float
UVrect Rect
리턴 void

MeshUpdate() 공개 메소드

public MeshUpdate ( ) : void
리턴 void

OnDisable() 공개 메소드

public OnDisable ( ) : void
리턴 void

OnEnable() 공개 메소드

public OnEnable ( ) : void
리턴 void

PixelCoordToUVCoord() 공개 메소드

public PixelCoordToUVCoord ( Vector2 xy ) : Vector2
xy Vector2
리턴 Vector2

PixelSpaceToUVSpace() 공개 메소드

public PixelSpaceToUVSpace ( Vector2 xy ) : Vector2
xy Vector2
리턴 Vector2

ResetFrameTime() 공개 메소드

public ResetFrameTime ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

_currentFrame 공개적으로 프로퍼티

public int _currentFrame
리턴 int

_frameRects 공개적으로 프로퍼티

public Rect[] _frameRects
리턴 Rect[]

_frameTick 공개적으로 프로퍼티

public float _frameTick
리턴 float

_height 공개적으로 프로퍼티

public float _height
리턴 float

_lastFrame 공개적으로 프로퍼티

public int _lastFrame
리턴 int

_width 공개적으로 프로퍼티

public float _width
리턴 float

looping 공개적으로 프로퍼티

public bool looping
리턴 bool

playAnimation 공개적으로 프로퍼티

public bool playAnimation
리턴 bool