C# Класс NetworkSkins.UI.UIUtil

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

Открытые методы

Метод Описание
CreateDropDown ( UIComponent parent ) : UIDropDown
CreateDropDownTextFieldWithLabel ( UILabel &label, UITextField &textField, UIComponent parent, string labelText, float width ) : UIDropDown
CreateDropDownWithLabel ( UILabel &label, UIComponent parent, string labelText, float width ) : UIDropDown
CreateSlider ( UIComponent parent, string text, float min, float max, float step, float defaultValue, [ eventCallback ) : UIPanel
GenerateBeautifiedPrefabName ( PrefabInfo prefab ) : string

Приватные методы

Метод Описание
AddLabel ( UIComponent parent, string text, float width, float dropDownHeight ) : UILabel
AddSpacesToSentence ( string text ) : string
CreateTextField ( UIComponent parent ) : UITextField

Описание методов

CreateDropDown() публичный статический Метод

public static CreateDropDown ( UIComponent parent ) : UIDropDown
parent UIComponent
Результат UIDropDown

CreateDropDownTextFieldWithLabel() публичный статический Метод

public static CreateDropDownTextFieldWithLabel ( UILabel &label, UITextField &textField, UIComponent parent, string labelText, float width ) : UIDropDown
label UILabel
textField UITextField
parent UIComponent
labelText string
width float
Результат UIDropDown

CreateDropDownWithLabel() публичный статический Метод

public static CreateDropDownWithLabel ( UILabel &label, UIComponent parent, string labelText, float width ) : UIDropDown
label UILabel
parent UIComponent
labelText string
width float
Результат UIDropDown

CreateSlider() публичный статический Метод

public static CreateSlider ( UIComponent parent, string text, float min, float max, float step, float defaultValue, [ eventCallback ) : UIPanel
parent UIComponent
text string
min float
max float
step float
defaultValue float
eventCallback [
Результат UIPanel

GenerateBeautifiedPrefabName() публичный статический Метод

public static GenerateBeautifiedPrefabName ( PrefabInfo prefab ) : string
prefab PrefabInfo
Результат string