Class UIToolkitAppBuilder<T>
A MonoBehaviour that can be used to build and host an app in a UIDocument.
This class is intended to be used as a base class for a MonoBehaviour that is attached to a GameObject in a scene.Inherited Members
Namespace: Unity.AppUI.MVVM
Assembly: solution.dll
Syntax
public class UIToolkitAppBuilder<T> : MonoBehaviour where T : App
Type Parameters
| Name | Description |
|---|---|
| T | The type of the app to build. It is expected that this type is a subclass of App. |
Fields
| Name | Description |
|---|---|
| uiDocument | The UIDocument to host the app in. |
Methods
| Name | Description |
|---|---|
| OnAppInitialized(T) | Called when the app has been initialized. |
| OnAppShuttingDown(T) | Called when the app is shutting down. |
| OnConfiguringApp(AppBuilder) | Called when the app builder is being configured. |