Interacting with XR UI Elements
Last updated
Last updated
Interacting with the UI may vary depending on the SDK you are using. For popular frameworks like XR Interaction Toolkit and Meta SDK, you can follow the documentation below. We recommend checking the relevant documentation for other SDKs.
To make the Settings Panel interactable in XR environments, where you can test your microphone at runtime or change the appearance of the Chat UI in Convai, follow these steps:
Right-click on the Convai Settings Panel.
Select Interaction SDK and then click on Add Ray Interaction to Canvas.
If a warning appears in the new window, click the Fix button.
In the Settings section, choose Everything. Then click Create.
To prevent the ISDK_RayInteraction from running while the Settings Panel is closed, drag it onto the Panel GameObject.
Click on the Convai Settings Panel.
In the Inspector, click the Add Component button.
Add the Tracked Device Graphic Raycaster component.