Skip to content

Ask the guide with a key

Updated

Pressing Q sends a question to an AI agent from a script with conversation.send; the agent’s thinking, response and error events arrive through its Signal Emitter and are logged.

Click the scene, then press Q to ask the guide a question and read the answer in the log. The answer comes from the AI service: without one, the log shows why the guide could not answer.

Ask the guide with a key

The script is explained step by step in Ask the guide with a key.

Download the project file below, then import it in XR Hub with Projects › New › Import, as described in Projects and templates. It opens in XR Creator with the same scene you see running above, each script already attached to its Behavior entity. From there you can edit the scripts, adjust components and their props, preview your changes, and deploy the result as a world of your own.

AskTheGuide.xrproj