C# Класс zExtensionsUI, zCore

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

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

Метод Описание
AddCallback ( Button, button, UnityAction, callback ) : Button,
AddCallback ( Slider, slider, UnityAction, callback ) : Slider,
AddCallback ( Toggle, toggle, UnityAction, callback ) : Toggle,
GetActiveElements ( HorizontalLayoutGroup layout ) : LayoutElement[]
GetValueFloat ( InputField, inputField ) : float
GetValueInt ( InputField, inputField ) : int
SetColor ( Image, myImage, Color, newColor ) : void
SetColor ( RawImage, myImage, Color, newColor ) : void
SetColor ( Transform, myTransform, Color, newColor ) : void
SetFlexibleHeihgt ( Transform, myTransform, float Height, bool addcomponentInfNotPresent = false ) : Transform,
SetFlexibleWidth ( Transform, myTransform, float Width, bool addcomponentInfNotPresent = false ) : Transform,
SetParentAndResetScale ( Transform, myTransform, Transform, newParent ) : RectTransform,
SetPreferreedHeight ( Transform, myTransform, float height, bool addcomponentInfNotPresent = false ) : Transform,
SetPreferreedWidth ( Transform, myTransform, float Width, bool addcomponentInfNotPresent = false ) : Transform,
SetText ( Text, text, float s ) : void
SetText ( Text, text, int s ) : void
SetText ( Text, text, string s ) : void
SetValueFloat ( InputField, inputField, float val ) : void
SetValueInt ( InputField, inputField, int val ) : void

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

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

public static AddCallback ( Button, button, UnityAction, callback ) : Button,
button Button,
callback UnityAction,
Результат Button,

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

public static AddCallback ( Slider, slider, UnityAction, callback ) : Slider,
slider Slider,
callback UnityAction,
Результат Slider,

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

public static AddCallback ( Toggle, toggle, UnityAction, callback ) : Toggle,
toggle Toggle,
callback UnityAction,
Результат Toggle,

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

public static GetActiveElements ( HorizontalLayoutGroup layout ) : LayoutElement[]
layout HorizontalLayoutGroup
Результат LayoutElement[]

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

public static GetValueFloat ( InputField, inputField ) : float
inputField InputField,
Результат float

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

public static GetValueInt ( InputField, inputField ) : int
inputField InputField,
Результат int

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

public static SetColor ( Image, myImage, Color, newColor ) : void
myImage Image,
newColor Color,
Результат void

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

public static SetColor ( RawImage, myImage, Color, newColor ) : void
myImage RawImage,
newColor Color,
Результат void

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

public static SetColor ( Transform, myTransform, Color, newColor ) : void
myTransform Transform,
newColor Color,
Результат void

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

public static SetFlexibleHeihgt ( Transform, myTransform, float Height, bool addcomponentInfNotPresent = false ) : Transform,
myTransform Transform,
Height float
addcomponentInfNotPresent bool
Результат Transform,

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

public static SetFlexibleWidth ( Transform, myTransform, float Width, bool addcomponentInfNotPresent = false ) : Transform,
myTransform Transform,
Width float
addcomponentInfNotPresent bool
Результат Transform,

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

public static SetParentAndResetScale ( Transform, myTransform, Transform, newParent ) : RectTransform,
myTransform Transform,
newParent Transform,
Результат RectTransform,

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

public static SetPreferreedHeight ( Transform, myTransform, float height, bool addcomponentInfNotPresent = false ) : Transform,
myTransform Transform,
height float
addcomponentInfNotPresent bool
Результат Transform,

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

public static SetPreferreedWidth ( Transform, myTransform, float Width, bool addcomponentInfNotPresent = false ) : Transform,
myTransform Transform,
Width float
addcomponentInfNotPresent bool
Результат Transform,

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

public static SetText ( Text, text, float s ) : void
text Text,
s float
Результат void

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

public static SetText ( Text, text, int s ) : void
text Text,
s int
Результат void

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

public static SetText ( Text, text, string s ) : void
text Text,
s string
Результат void

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

public static SetValueFloat ( InputField, inputField, float val ) : void
inputField InputField,
val float
Результат void

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

public static SetValueInt ( InputField, inputField, int val ) : void
inputField InputField,
val int
Результат void