C# 클래스 BuildingThemes.GUI.UIFactory

파일 보기 프로젝트 열기: lisa-lionheart/TimeWarp

공개 프로퍼티들

프로퍼티 타입 설명
s_atlases UITextureAtlas[]

공개 메소드들

메소드 설명
CreateButton ( UIComponent parent ) : UIButton
CreateCheckBox ( UIComponent parent ) : UICheckBox
CreateDropDown ( UIComponent parent ) : UIDropDown
CreateIconToggle ( UIComponent parent, string atlas, string checkedSprite, string uncheckedSprite ) : UICheckBox
CreateSlider ( UIPanel parent, float min, float max ) : UISlider
CreateTextField ( UIComponent parent ) : UITextField
GetAtlas ( string name ) : UITextureAtlas
ResizeIcon ( UISprite icon, Vector2 maxSize ) : void
TruncateLabel ( UILabel label, float maxWidth ) : void

메소드 상세

CreateButton() 공개 정적인 메소드

public static CreateButton ( UIComponent parent ) : UIButton
parent UIComponent
리턴 UIButton

CreateCheckBox() 공개 정적인 메소드

public static CreateCheckBox ( UIComponent parent ) : UICheckBox
parent UIComponent
리턴 UICheckBox

CreateDropDown() 공개 정적인 메소드

public static CreateDropDown ( UIComponent parent ) : UIDropDown
parent UIComponent
리턴 UIDropDown

CreateIconToggle() 공개 정적인 메소드

public static CreateIconToggle ( UIComponent parent, string atlas, string checkedSprite, string uncheckedSprite ) : UICheckBox
parent UIComponent
atlas string
checkedSprite string
uncheckedSprite string
리턴 UICheckBox

CreateSlider() 공개 정적인 메소드

public static CreateSlider ( UIPanel parent, float min, float max ) : UISlider
parent UIPanel
min float
max float
리턴 UISlider

CreateTextField() 공개 정적인 메소드

public static CreateTextField ( UIComponent parent ) : UITextField
parent UIComponent
리턴 UITextField

GetAtlas() 공개 정적인 메소드

public static GetAtlas ( string name ) : UITextureAtlas
name string
리턴 UITextureAtlas

ResizeIcon() 공개 정적인 메소드

public static ResizeIcon ( UISprite icon, Vector2 maxSize ) : void
icon UISprite
maxSize UnityEngine.Vector2
리턴 void

TruncateLabel() 공개 정적인 메소드

public static TruncateLabel ( UILabel label, float maxWidth ) : void
label UILabel
maxWidth float
리턴 void

프로퍼티 상세

s_atlases 공개적으로 정적으로 프로퍼티

public static UITextureAtlas[] s_atlases
리턴 UITextureAtlas[]