Attach on a game object with UIDocument component. Creates an UIView for UIDocument.rootVisualElement.

| Name | Type | Description |
|---|---|---|
| UIView | UIView | The UIView created at Awake according to inspector settings. |
| ParentElement | VisualElement | The VisualElement that serves as the parent for this UIView. |
| LunaUIManager | Luna UI Manager | LunaUIManager 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. |
| Fade | FadeUIElement | Manage fade transitions of the UIView. |
| 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.
public void FadeOutThenDestroy()Settings
Theme
Light
Contrast
Material
Dark
Dim
Material Dark
System
Sidebar(Light & Contrast only)
Font Family
DM Sans
Wix
Inclusive Sans
AR One Sans
Direction