> 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/core-concepts.md).

# 核心概念

“核心概念”部分解释了运行在你场景中每个 Convai 角色底层的系统——管理连接的运行时层、控制每个角色生命周期的会话状态机、驱动 Gaze 和 Emotion 等模块的按角色实体化层、控制谁发言以及何时发言的轮流发言系统，以及让场景在运行时对发生的事件做出反应的事件组件。

从……开始 **运行时架构** 如果你对 SDK 内部机制还不熟悉。只有在需要配置某个特定系统，或想了解 SDK 为什么会以某种方式运行时，再阅读其他页面。

<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>运行时架构</strong><br>运行时层、接口清单，以及你可以替换的内容。</td><td><a href="/pages/4cf766d486eec86e65f9c3e4e1a71435373ac7ec">/pages/4cf766d486eec86e65f9c3e4e1a71435373ac7ec</a></td></tr><tr><td><strong>会话生命周期</strong><br>状态机、按角色划分的会话、持久化和重新连接。</td><td><a href="/pages/1b034b7638b343540a3b205274bd08beaff9d15e">/pages/1b034b7638b343540a3b205274bd08beaff9d15e</a></td></tr><tr><td><strong>角色 Embodiment</strong><br>针对每个角色的组合根、确定性 tick，以及 Animator 和面部 BlendShape 的单写入者规则。</td><td><a href="/pages/491cfe5f38fba67eb46308256f5d4fa1ba67cda0">/pages/491cfe5f38fba67eb46308256f5d4fa1ba67cda0</a></td></tr><tr><td><strong>对话状态</strong><br>每个实体化模块都会读取的八值对话状态模型。</td><td><a href="/pages/9aa58b1250604b0f44e22f31b27c7ffe4a02efeb">/pages/9aa58b1250604b0f44e22f31b27c7ffe4a02efeb</a></td></tr><tr><td><strong>资产所有权和写时复制</strong><br>为什么编辑一个随包提供的配置文件会创建项目副本，而不是直接在原处编辑。</td><td><a href="/pages/8eaf58d7e1fc1a2176b0c4b26425f595bc8e8851">/pages/8eaf58d7e1fc1a2176b0c4b26425f595bc8e8851</a></td></tr><tr><td><strong>轮流发言模式</strong><br>免提与按键通话——逐一解释每个字段和策略。</td><td><a href="/pages/251e0bf7030a5f742a1182e15529c0604e3ee150">/pages/251e0bf7030a5f742a1182e15529c0604e3ee150</a></td></tr><tr><td><strong>语音活动检测</strong><br>服务器默认阈值与自定义检测阈值会在连接时确定。</td><td><a href="/pages/9e1663ddbf1fca5a96f17b81e99da40d8aee52e5">/pages/9e1663ddbf1fca5a96f17b81e99da40d8aee52e5</a></td></tr><tr><td><strong>事件系统</strong><br>中继组件、负载类型和订阅模式。</td><td><a href="/pages/0bd691fc4d8a06b0dbafd0f28b11f39be6f57f9a">/pages/0bd691fc4d8a06b0dbafd0f28b11f39be6f57f9a</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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
