API reference
API reference
Select your platform
No SDKs available
No versions available

RuntimeAPIs Class

Public runtime APIs for Immersive Debugger that allow developers to dynamically add inspectors for their special needs at runtime.
These APIs provide a way to add inspectors for components at runtime without using DebugMember attributes. This is useful for debugging components that are created dynamically or for adding inspectors to components that you don't have source access to.

Static Member Functions

Adds a dedicated inspector for a specific component on a game object.
This will find the game object from scene, then find the component instance and create InstanceHandle, register in InstanceCache, and register inspector based on the Type and InstanceHandle. It will retrieve the members of this type based on filter. If Members filter is not supplied, it will automatically register all the public members within this class.
Parameters
category
The category name for organizing the inspector
gameObjectName
The name of the GameObject to find in the scene
componentClassName
The class name of the component to inspect
members
Optional comma-separated list of member names to inspect. If empty, all public members will be included.
Returns
A RuntimeAPIOperationResult containing detailed operation result with message information for AI agents