Meta XR Platform SDK (UPM) v71 Reference Guide
Meta XR Platform SDK (UPM) v71 Reference Guide
Select your platform
No SDKs available
No versions available

PlatformSettings Class

Extends ScriptableObject
This class contains the configurations for the platform settings of a Model.Application. To modify the values, there is an editor accessible from the menu bar via: OculusPlatform -> Edit Settings. This is important for initializing the Platform SDK.

Properties

AppID : string
[Get][Set]
This is the ID that belongs to your Models.Application. You can find this on the Oculus Dashboard. This is will be used to build the rift/windows target.
Signature
string Oculus.Platform.PlatformSettings.AppID
Instance : PlatformSettings
[Get][Set]
Signature
PlatformSettings Oculus.Platform.PlatformSettings.Instance
MobileAppID : string
[Get][Set]
This is the ID that belongs to your Models.application. You can find this on the Oculus Dashboard. This will be used to build the android target.
Signature
string Oculus.Platform.PlatformSettings.MobileAppID
UseMobileAppIDInEditor : bool
[Get][Set]
This is a flag that determines whethe Platform SDK will use the mobile app id instead of the rift app id in the editor.
Signature
bool Oculus.Platform.PlatformSettings.UseMobileAppIDInEditor
UseStandalonePlatform : bool
[Get][Set]
This is a flag that determines whether your app will build using the OculusPlatform or a debug platform.
Signature
bool Oculus.Platform.PlatformSettings.UseStandalonePlatform