C# Class zExtensionsUI, zCore

Mostra file Open project: zambari/zCore

Public Methods

Method Description
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

Method Details

AddCallback() public static method

public static AddCallback ( Button, button, UnityAction, callback ) : Button,
button Button,
callback UnityAction,
return Button,

AddCallback() public static method

public static AddCallback ( Slider, slider, UnityAction, callback ) : Slider,
slider Slider,
callback UnityAction,
return Slider,

AddCallback() public static method

public static AddCallback ( Toggle, toggle, UnityAction, callback ) : Toggle,
toggle Toggle,
callback UnityAction,
return Toggle,

GetActiveElements() public static method

public static GetActiveElements ( HorizontalLayoutGroup layout ) : LayoutElement[]
layout HorizontalLayoutGroup
return LayoutElement[]

GetValueFloat() public static method

public static GetValueFloat ( InputField, inputField ) : float
inputField InputField,
return float

GetValueInt() public static method

public static GetValueInt ( InputField, inputField ) : int
inputField InputField,
return int

SetColor() public static method

public static SetColor ( Image, myImage, Color, newColor ) : void
myImage Image,
newColor Color,
return void

SetColor() public static method

public static SetColor ( RawImage, myImage, Color, newColor ) : void
myImage RawImage,
newColor Color,
return void

SetColor() public static method

public static SetColor ( Transform, myTransform, Color, newColor ) : void
myTransform Transform,
newColor Color,
return void

SetFlexibleHeihgt() public static method

public static SetFlexibleHeihgt ( Transform, myTransform, float Height, bool addcomponentInfNotPresent = false ) : Transform,
myTransform Transform,
Height float
addcomponentInfNotPresent bool
return Transform,

SetFlexibleWidth() public static method

public static SetFlexibleWidth ( Transform, myTransform, float Width, bool addcomponentInfNotPresent = false ) : Transform,
myTransform Transform,
Width float
addcomponentInfNotPresent bool
return Transform,

SetParentAndResetScale() public static method

public static SetParentAndResetScale ( Transform, myTransform, Transform, newParent ) : RectTransform,
myTransform Transform,
newParent Transform,
return RectTransform,

SetPreferreedHeight() public static method

public static SetPreferreedHeight ( Transform, myTransform, float height, bool addcomponentInfNotPresent = false ) : Transform,
myTransform Transform,
height float
addcomponentInfNotPresent bool
return Transform,

SetPreferreedWidth() public static method

public static SetPreferreedWidth ( Transform, myTransform, float Width, bool addcomponentInfNotPresent = false ) : Transform,
myTransform Transform,
Width float
addcomponentInfNotPresent bool
return Transform,

SetText() public static method

public static SetText ( Text, text, float s ) : void
text Text,
s float
return void

SetText() public static method

public static SetText ( Text, text, int s ) : void
text Text,
s int
return void

SetText() public static method

public static SetText ( Text, text, string s ) : void
text Text,
s string
return void

SetValueFloat() public static method

public static SetValueFloat ( InputField, inputField, float val ) : void
inputField InputField,
val float
return void

SetValueInt() public static method

public static SetValueInt ( InputField, inputField, int val ) : void
inputField InputField,
val int
return void