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

# 实用工具

实用工具是可选模块，可增强 AI 角色的外观和移动方式。它们完全在 Unity 内部运行——不会向 Convai 发送任何数据，并且独立于会话生命周期运行。

与通过与 Convai 通信来扩展角色感知和推理的功能不同，实用工具侧重于视觉和行为呈现：由情绪和对话状态驱动的手势动画、眼动跟踪以及自然的头部运动。这两个模块在有无有效 Convai 会话的情况下都能工作，并且可以添加到任何已经具有一个的角色上 `ConvaiCharacter` 组件。

<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/4855debc1a41a36a77ffcd2af49d786a7ffa1236">/pages/4855debc1a41a36a77ffcd2af49d786a7ffa1236</a></td></tr><tr><td><strong>凝视与注意力</strong><br>通过两阶段的“注意力 → 凝视”流程，添加眼动跟踪、头部旋转、扫视、眨眼以及智能焦点选择。</td><td><a href="/pages/ef7ab7a7a63bf2b7dbe5e891064030f0baab789b">/pages/ef7ab7a7a63bf2b7dbe5e891064030f0baab789b</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:

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

The question should be specific, self-contained, and written in natural language.
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.
