C# 클래스 BBGamelib.CCLabelTTF

상속: CCNodeRGBA, CCLabelProtocol
파일 보기 프로젝트 열기: BigWoodGames/cocos2d-unity 1 사용 예제들

공개 메소드들

메소드 설명
CCLabelTTF ( string text, string fontName, float fontSize ) : UnityEngine
CCLabelTTF ( string text, string fontName, float fontSize, Vector2 dimensions, CCTextAlignment hAlignment = CCTextAlignment.Left, CCVerticalTextAlignment vAlignment = CCVerticalTextAlignment.Top ) : UnityEngine
ToString ( ) : string
getFontName ( string fontName ) : string
updateColor ( ) : void
updateDisplayedColor ( Color32 parentColor ) : void
updateDisplayedOpacity ( byte parentOpacity ) : void
updateTransform ( ) : void

보호된 메소드들

메소드 설명
draw ( ) : void
init ( string text, string fontName, float fontSize, Vector2 dimensions, CCTextAlignment hAlignment, CCVerticalTextAlignment vAlignment ) : void
initWithGear ( CCFactoryGear gear ) : void
recycleGear ( ) : void
updateTexture ( ) : bool

비공개 메소드들

메소드 설명
getLocalbounds ( ) : Bounds

메소드 상세

CCLabelTTF() 공개 메소드

public CCLabelTTF ( string text, string fontName, float fontSize ) : UnityEngine
text string
fontName string
fontSize float
리턴 UnityEngine

CCLabelTTF() 공개 메소드

public CCLabelTTF ( string text, string fontName, float fontSize, Vector2 dimensions, CCTextAlignment hAlignment = CCTextAlignment.Left, CCVerticalTextAlignment vAlignment = CCVerticalTextAlignment.Top ) : UnityEngine
text string
fontName string
fontSize float
dimensions UnityEngine.Vector2
hAlignment CCTextAlignment
vAlignment CCVerticalTextAlignment
리턴 UnityEngine

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

draw() 보호된 메소드

protected draw ( ) : void
리턴 void

getFontName() 공개 메소드

public getFontName ( string fontName ) : string
fontName string
리턴 string

init() 보호된 메소드

protected init ( string text, string fontName, float fontSize, Vector2 dimensions, CCTextAlignment hAlignment, CCVerticalTextAlignment vAlignment ) : void
text string
fontName string
fontSize float
dimensions UnityEngine.Vector2
hAlignment CCTextAlignment
vAlignment CCVerticalTextAlignment
리턴 void

initWithGear() 보호된 메소드

protected initWithGear ( CCFactoryGear gear ) : void
gear CCFactoryGear
리턴 void

recycleGear() 보호된 메소드

protected recycleGear ( ) : void
리턴 void

updateColor() 공개 메소드

public updateColor ( ) : void
리턴 void

updateDisplayedColor() 공개 메소드

public updateDisplayedColor ( Color32 parentColor ) : void
parentColor UnityEngine.Color32
리턴 void

updateDisplayedOpacity() 공개 메소드

public updateDisplayedOpacity ( byte parentOpacity ) : void
parentOpacity byte
리턴 void

updateTexture() 보호된 메소드

protected updateTexture ( ) : bool
리턴 bool

updateTransform() 공개 메소드

public updateTransform ( ) : void
리턴 void