Utility class for creating default implementations of builtin UI controls.
InheritanceDefaultControls
Namespace: UnityEngine.UI Assembly: UnityEngine.UI.dll Syntaxpublic static class DefaultControls
Properties factory Declaration
public static DefaultControls.IFactoryControls factory { get; set; }
Property Value Methods CreateButton(Resources)
Create the basic UI button.
Declarationpublic static GameObject CreateButton(DefaultControls.Resources resources)
Parameters Returns Type Description GameObject
The root GameObject of the created element.
CreateDropdown(Resources)Create the basic UI dropdown.
Declarationpublic static GameObject CreateDropdown(DefaultControls.Resources resources)
Parameters Returns Type Description GameObject
The root GameObject of the created element.
CreateImage(Resources)Create the basic UI Image.
Declarationpublic static GameObject CreateImage(DefaultControls.Resources resources)
Parameters Returns Type Description GameObject
The root GameObject of the created element.
CreateInputField(Resources)Create the basic UI input field.
Declarationpublic static GameObject CreateInputField(DefaultControls.Resources resources)
Parameters Returns Type Description GameObject
The root GameObject of the created element.
CreatePanel(Resources)Create the basic UI Panel.
Declarationpublic static GameObject CreatePanel(DefaultControls.Resources resources)
Parameters Returns Type Description GameObject
The root GameObject of the created element.
CreateRawImage(Resources)Create the basic UI RawImage.
Declarationpublic static GameObject CreateRawImage(DefaultControls.Resources resources)
Parameters Returns Type Description GameObject
The root GameObject of the created element.
CreateScrollView(Resources)Create the basic UI Scrollview.
Declarationpublic static GameObject CreateScrollView(DefaultControls.Resources resources)
Parameters Returns Type Description GameObject
The root GameObject of the created element.
CreateScrollbar(Resources)Create the basic UI Scrollbar.
Declarationpublic static GameObject CreateScrollbar(DefaultControls.Resources resources)
Parameters Returns Type Description GameObject
The root GameObject of the created element.
CreateSlider(Resources)Create the basic UI Slider.
Declarationpublic static GameObject CreateSlider(DefaultControls.Resources resources)
Parameters Returns Type Description GameObject
The root GameObject of the created element.
CreateText(Resources)Create the basic UI Text.
Declarationpublic static GameObject CreateText(DefaultControls.Resources resources)
Parameters Returns Type Description GameObject
The root GameObject of the created element.
CreateToggle(Resources)Create the basic UI Toggle.
Declarationpublic static GameObject CreateToggle(DefaultControls.Resources resources)
Parameters Returns Type Description GameObject
The root GameObject of the created element.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4