프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_atlas | UIAtlas, | ||
_id | int | ||
_sprite | UISprite, |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_currentSpriteName | string | ||
_idCounter | int |
메소드 | 설명 | |
---|---|---|
Create ( Transform parentTransform, Vector3 localPosition, string spriteName, Object prefab ) : DisplayedElement, | ||
Redraw ( Vector3 newLocalPosition ) : void | ||
Remove ( ) : void | ||
getID ( ) : int |
메소드 | 설명 | |
---|---|---|
OnPress ( bool isPressed ) : void | ||
setSprite ( string spriteName ) : void |
public static Create ( Transform parentTransform, Vector3 localPosition, string spriteName, Object prefab ) : DisplayedElement, | ||
parentTransform | Transform | |
localPosition | Vector3 | |
spriteName | string | |
prefab | Object | |
리턴 | DisplayedElement, |