C# 클래스 Sprite, NanoGUI

상속: MonoBehaviour
파일 보기 프로젝트 열기: hxflyer/NanoGUI 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_texturRenderRotatePivot Vector2
_texture Texture
_textureRenderRect Rect
_textureSelfRect Rect

공개 메소드들

메소드 설명
Sprite ( ) : System.Collections
Sprite ( Texture texture ) : System.Collections
Sprite ( Texture texture, float textureWidth, float textureHeight ) : System.Collections
destroy ( ) : void
hitTestMouseDispatch ( string type, Vector2 vec ) : bool
hitTestTouchDispatch ( string type, Touch touch ) : bool
hittest ( Vector2 vec ) : bool
render ( ) : void
setHotAreaSize ( float width, float height ) : void
setTexutre ( Texture texture, float textureWidth, float textureHeight ) : void
updateBoundRect ( ) : void

메소드 상세

Sprite() 공개 메소드

public Sprite ( ) : System.Collections
리턴 System.Collections

Sprite() 공개 메소드

public Sprite ( Texture texture ) : System.Collections
texture Texture
리턴 System.Collections

Sprite() 공개 메소드

public Sprite ( Texture texture, float textureWidth, float textureHeight ) : System.Collections
texture Texture
textureWidth float
textureHeight float
리턴 System.Collections

destroy() 공개 메소드

public destroy ( ) : void
리턴 void

hitTestMouseDispatch() 공개 메소드

public hitTestMouseDispatch ( string type, Vector2 vec ) : bool
type string
vec Vector2
리턴 bool

hitTestTouchDispatch() 공개 메소드

public hitTestTouchDispatch ( string type, Touch touch ) : bool
type string
touch Touch
리턴 bool

hittest() 공개 메소드

public hittest ( Vector2 vec ) : bool
vec Vector2
리턴 bool

render() 공개 메소드

public render ( ) : void
리턴 void

setHotAreaSize() 공개 메소드

public setHotAreaSize ( float width, float height ) : void
width float
height float
리턴 void

setTexutre() 공개 메소드

public setTexutre ( Texture texture, float textureWidth, float textureHeight ) : void
texture Texture
textureWidth float
textureHeight float
리턴 void

updateBoundRect() 공개 메소드

public updateBoundRect ( ) : void
리턴 void

프로퍼티 상세

_texturRenderRotatePivot 보호되어 있는 프로퍼티

protected Vector2 _texturRenderRotatePivot
리턴 Vector2

_texture 보호되어 있는 프로퍼티

protected Texture _texture
리턴 Texture

_textureRenderRect 보호되어 있는 프로퍼티

protected Rect _textureRenderRect
리턴 Rect

_textureSelfRect 보호되어 있는 프로퍼티

protected Rect _textureSelfRect
리턴 Rect