C# Класс BuildingThemes.GUI.UIFactory

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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[]