Class AppUI
The main entry point for the App UI system.
Inherited Members
Namespace: Unity.AppUI.Core
Assembly: Unity.AppUI.dll
Syntax
[InitializeOnLoad]
public static class AppUI
Fields
touchPadId
The id of the touchpad button in synthesized mouse events.
Declaration
public const int touchPadId = 3
Field Value
Type | Description |
---|---|
int |
Properties
mainLooper
The main looper of the App UI system.
Declaration
public static Looper mainLooper { get; }
Property Value
Type | Description |
---|---|
Looper |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown if the App UI system is not ready. |
settings
The settings used by the App UI system.
Declaration
public static AppUISettings settings { get; }
Property Value
Type | Description |
---|---|
AppUISettings |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown when the value is null. |
Methods
DismissAnyPopups(IPanel, DismissType)
Dismiss any popups that are currently open in a specific panel.
Declaration
public static void DismissAnyPopups(IPanel iPanel, DismissType reason)
Parameters
Type | Name | Description |
---|---|---|
IPanel | iPanel | The UITK panel that owns the popups. |
DismissType | reason | The reason for dismissing the popups. |