> For the complete documentation index, see [llms.txt](https://docs.convai.com/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/convai-unity-sdk/ui-and-presentation.md).

# UI 与呈现

可选的场景级 UI，用于显示转录、提示通知以及为用户提供运行时设置面板——仅添加项目所需的内容。

Convai Unity SDK 提供了一组可选的场景级 UI 组件。这些组件使用运行时已生成的数据，并在场景中本地呈现；它们都不会向 Convai 发送数据，也无需保持连接即可显示。

每个组件都彼此独立。根据培训模拟、互动体验或游戏的需求添加即可。

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>转录 UI</strong><br>使用内置预制件或自定义实现，在场景中添加可滚动的聊天界面或固定位置的字幕显示。</td><td><a href="https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/convai-unity-sdk/ui-and-presentation/transcript-ui.md">转录 UI</a></td></tr><tr><td><strong>转录历史记录与查询</strong><br>查询房间的完整轮次时间线、按参与者筛选，并通过代码响应转录内容的变化。</td><td><a href="https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/convai-unity-sdk/ui-and-presentation/transcript-ui/transcript-history-and-queries.md">转录历史与查询</a></td></tr><tr><td><strong>聊天与字幕模式</strong><br>比较两种内置显示模式、配置 Inspector 字段，并为每条回复添加反馈按钮。</td><td><a href="https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/convai-unity-sdk/ui-and-presentation/transcript-ui/chat-and-subtitle-modes.md">聊天和字幕模式</a></td></tr><tr><td><strong>通知系统</strong><br>为会话错误、状态变化和场景内自定义事件显示 Toast 风格的提醒。</td><td><a href="https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/convai-unity-sdk/ui-and-presentation/notification-system.md">通知系统</a></td></tr><tr><td><strong>设置面板</strong><br>为用户提供运行时面板，用于调整麦克风、转录模式和对话偏好。</td><td><a href="https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/convai-unity-sdk/ui-and-presentation/settings-panel.md">设置面板</a></td></tr><tr><td><strong>自定义 UI 组件</strong><br>通过角色可见性筛选器或替换预制件，重新设计内置转录、通知和设置面板 UI 的样式。</td><td><a href="https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/convai-unity-sdk/ui-and-presentation/customizing-ui-components.md">自定义 UI 组件</a></td></tr><tr><td><strong>通知系统参考</strong><br>SONotification、SONotificationGroup、UINotificationController 和错误映射资源的参考文档。</td><td><a href="https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/convai-unity-sdk/ui-and-presentation/notification-system/notification-system-reference.md">通知系统参考</a></td></tr><tr><td><strong>运行时设置 API</strong><br>IConvaiRuntimeSettingsService 参考文档——通过代码读取、应用运行时设置，并响应设置变更。</td><td><a href="https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/convai-unity-sdk/ui-and-presentation/settings-panel/runtime-settings-api.md">运行时设置 API</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/convai-unity-sdk/ui-and-presentation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
