AsyncInitialize
(
appID
, accessToken
)
|
It initializes the platform in standalone mode with the provided App ID and access token. It resets the test platform, initializes the globals, and then calls CAPI.ovr_PlatformInitializeWithAccessToken() to perform the actual initialization.
Signature
Request<Models.PlatformInitialize> Oculus.Platform.StandalonePlatform.AsyncInitialize(ulong appID, string accessToken) Parameters appID: ulongaccessToken: stringReturns Request< Models.PlatformInitialize > |
AsyncInitializeWithAccessTokenAndOptions
(
appId
, accessToken
, initConfigOptions
)
|
It initializes the platform in standalone mode with the provided App ID, access token, and initialization options.
Signature
Request<Models.PlatformInitialize> Oculus.Platform.StandalonePlatform.AsyncInitializeWithAccessTokenAndOptions(string appId, string accessToken, Dictionary< InitConfigOptions, bool > initConfigOptions) Parameters Returns Request< Models.PlatformInitialize > |
InitializeInEditor
()
|
It initializes the platform in standalone mode within the Unity Editor. It checks for the presence of an App ID and access token, and throws an exception if either is missing. If the necessary credentials are present, it calls the AsyncInitialize() function to perform the actual initialization.
Signature
Request<Models.PlatformInitialize> Oculus.Platform.StandalonePlatform.InitializeInEditor() Returns Request< Models.PlatformInitialize > |
UnityLogDelegate
(
tag
, msg
)
|
This is a delegate function that allows you to receive log message from the platform.
Signature
delegate void Oculus.Platform.StandalonePlatform.UnityLogDelegate(IntPtr tag, IntPtr msg) Parameters tag: IntPtrmsg: IntPtrReturns delegate void |