Class AppUISettings
The settings for the App UI system.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.AppUI.Core
Assembly: Unity.AppUI.dll
Syntax
[CreateAssetMenu(menuName = "App UI/Settings", fileName = "App UI Settings")]
public class AppUISettings : ScriptableObject
Properties
autoCorrectUiScale
Enable this options to correct the scale of UIDocuments, depending on the target platform and screen dpi.
Declaration
public bool autoCorrectUiScale { get; set; }
Property Value
Type | Description |
---|---|
bool |
autoOverrideAndroidManifest
Enable this option to automatically override the AndroidManifest.xml file with the one provided by the App UI system.
Declaration
public bool autoOverrideAndroidManifest { get; set; }
Property Value
Type | Description |
---|---|
bool |
editorUpdateFrequency
Configure how frequently you want to run the main App UI process loop (to handle queued messages for examples). Default is 60Hz.
Declaration
public float editorUpdateFrequency { get; set; }
Property Value
Type | Description |
---|---|
float |
enableMacOSGestureRecognition
Enable this option to enable gesture recognition on macOS.
Declaration
public bool enableMacOSGestureRecognition { get; set; }
Property Value
Type | Description |
---|---|
bool |
includeShadersInPlayerBuild
Enable this option to include the App UI shaders in the player build.
Declaration
public bool includeShadersInPlayerBuild { get; set; }
Property Value
Type | Description |
---|---|
bool |
useCustomEditorUpdateFrequency
Enable this option to use a custom update frequency for the App UI system in the editor.
Declaration
public bool useCustomEditorUpdateFrequency { get; set; }
Property Value
Type | Description |
---|---|
bool |