> 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/gaze-and-attention.md).

# 注视与注意力

Gaze & Attention 实用工具为 AI 角色添加自然的眼神接触和头部跟踪。它完全在 Unity 内运行——不会向 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>Gaze 和 Attention 的工作原理</strong><br>了解这个双层管线：Attention 负责选择关注目标，而 Gaze 驱动程序化的眼球跟踪、头部旋转和扫视。</td><td><a href="/pages/b0c29a6e702559f60d0915358a514f0948309c80">/pages/b0c29a6e702559f60d0915358a514f0948309c80</a></td></tr><tr><td><strong>Gaze 和 Attention 快速入门</strong><br>添加这三个必需组件，并在播放模式中查看眼睛和头部跟踪是否正常工作。</td><td><a href="/pages/3c4829453494907d523e48c550daa2fe2aac5a4e">/pages/3c4829453494907d523e48c550daa2fe2aac5a4e</a></td></tr><tr><td><strong>Attention 和 Gaze 配置文件</strong><br>所有四个 Gaze 配置 ScriptableObject 的字段参考，包含默认值和调优指南。</td><td><a href="/pages/5b881c94bd2adefe8b932f255cffe05f31b8cd93">/pages/5b881c94bd2adefe8b932f255cffe05f31b8cd93</a></td></tr><tr><td><strong>Gaze 和 Attention 使用示例</strong><br>培训、医疗和谈判场景，以及 Inspector 和脚本化配置模式。</td><td><a href="/pages/a207c4438cb0378f687867334e1e2e2b5d8c75bb">/pages/a207c4438cb0378f687867334e1e2e2b5d8c75bb</a></td></tr><tr><td><strong>Gaze 和 Attention 脚本 API</strong><br>AttentionReading、IFocusTargetProvider、GazeIntent 以及所有运行时类型的完整参考。</td><td><a href="/pages/5a9422b007899ae59891f1bd5d95035da644a167">/pages/5a9422b007899ae59891f1bd5d95035da644a167</a></td></tr><tr><td><strong>Gaze 和 Attention 故障排除</strong><br>修复静止眼睛、冻结的头部、眼睑穿模以及 Attention 目标失败的问题。</td><td><a href="/pages/bd1a14b7112ed8774594e9ba50650f3d5c339af2">/pages/bd1a14b7112ed8774594e9ba50650f3d5c339af2</a></td></tr></tbody></table>

### 下一步

按照快速入门为你的第一个角色添加眼睛和头部跟踪，然后阅读 Attention 和 Gaze 配置文件，了解如何根据你的场景调整注视行为。

{% content-ref url="/pages/3c4829453494907d523e48c550daa2fe2aac5a4e" %}
[注视与注意力快速开始](/api-docs/zh/cha-jian-yu-ji-cheng/convai-unity-sdk/utilities/gaze-and-attention/quick-start.md)
{% endcontent-ref %}


---

# 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/gaze-and-attention.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.
