CustomIntegrationConfig Class
Subscribe to the delegate events to register custom config of the integration with Immersive Debugger, all should be only subscribed once for each scene.
For more info about Immersive Debugger, check out the
official doc
delegate Camera GetCameraDelegate ( )
Delegate type for the GetCamera function.
delegate Transform GetLeftControllerTransformDelegate ( )
Delegate type for the GetLeftControllerTransformDelegate function.
delegate Transform GetRightControllerTransformDelegate ( )
Delegate type for the GetRightControllerTransformDelegate function.
static void SetupAllConfig Setup all the configs with provided ICustomIntegrationConfig so it's used by Immersive Debugger Note the config is only gonna be used if UseCustomIntegrationConfig is enabled in settings.
ParameterscustomConfigThe implementation of ICustomIntegrationConfig
static void ClearAllConfig Remove the registered customConfig from Immersive Debugger.
ParameterscustomConfigThe implementation of ICustomIntegrationConfig
static Camera GetCamera ( )
Get Camera of the current scene, could be null.
Used for show panel in relation to the camera's pose in runtime if you're not using
OVRCameraRig.
static Transform GetLeftControllerTransform ( )
Get Left controller, used to calculate ray casting to the panel in runtime.
ReturnsTransform of the left controller
static Transform GetRightControllerTransform ( )
Get Right controller, used to calculate ray casting to the panel in runtime.
ReturnsTransform of the right controller