Click or drag to resize

App Properties

The App type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberAllowVerboseLoggingInBuilds
Returns true if the current client is a VR client
Public propertyStatic memberApplicationQuitting
True if the we received the OnApplicationQuit event form Unity
Public propertyAreNotificationsEnabled
Are notifications enabled for this app?
Public propertyStatic memberAudio
Returns the active AudioService, used for playing UI sounds and controlling volume levels
Public propertyStatic memberAvatars
Returns the current Avatar service. This is used to find avatars in the scene
Public propertyStatic memberCameraService
Returns the active CameraService, used in the WebGL client for controlling camera
Public propertyCheckIndexesOnGameStart
Enable/Disable Checking Indexes when on play in the editor
Public propertyCheckIndexesOnLevelLoad
Enable/Disable Checking Indexes when level is loaded in the editor. Note will only be check if checkIndexesOnGameStart is enabled.
Public propertyHandGuiType
The type of handui that has been configured in this app
Public propertyStatic memberIsEditor
Returns true if the application is runningin the editor. This does not need to be called from the main thread
Public propertyStatic memberIsVrClient
Public propertyStatic memberMessageDisplayService
Returns the message display service, for showing messages to users
Public propertyStatic memberPostProcessing
Returns the PostProcessingService, used for post processing effects
Public propertyStatic memberScene
Returns the SceneService, used for changing scenes
Public propertyStatic memberSession
Returns the current session, this provides access to session level services
Public propertyShouldHighlightEngageObject
Enable/Disable object highlighting
Public propertyStatic memberUiInputModule
Returns the UnityUiInputModule
Top
See Also