UIViewComponent
Last updated
Last updated
Attach on a game object with UIDocument component. Creates an UIView for UIDocument.rootVisualElement
. You should extend from this class when creating custom UI controllers.
UIView
UIView
UIView is created at Awake according to inspector settings.
Parent
VisualElement
Returns UIView.Parent
Parent element is UIDocument.rootVisualElement
.
Fade
Returns UIView.Fade
UIElementManager
Returns UIView.UIElementManager
UIElementManager
tracks interactable visual elements, enabling mass activation or deactivation within a UIView
. You can also set a blocking element to prevent interaction with other elements until it is clicked.
UIDocument
UIDocument
UIDocument
component attached to the same GameObject.
This method uses the public Fade
variable from the UIView
to fade out. Once the fade-out transition is complete, it destroys the associated GameObject.