> 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/unity-plugin-beta-overview/getting-started.md).

# Unity 插件入门

## 简介

Convai Unity SDK 可让你将实时对话式 AI 引入 Unity 项目——非常适合 NPC 对话、语音交互和交互式角色体验。

本“入门”部分旨在引导你从全新的 Unity 项目开始，借助示例场景或你自己的自定义场景，成功完成“第一次对话”。

{% embed url="<https://youtu.be/bxjGnOvNL4E>" %}
在 Unity 中创建具备实时口型同步和高质量面部动画的对话式 AI 头像
{% endembed %}

## 概述

根据你所处的流程阶段使用这些页面：

* **安装**
  * **UPM** —— 最简单的更新和依赖管理
  * **Unity 资源商店** —— 基于 Asset Store 的分发工作流
* **设置**
  * **配置 API 密钥**
  * **导入并运行示例场景**
  * **自定义场景设置**
  * **添加聊天 UI（对话记录 UI）**
  * **为你的角色添加口型同步**

## 接下来是什么

如果这是你第一次在 Unity 中安装 Convai：

1. 从以下开始 **通过 UPM 安装**
2. 继续前往 **配置 API 密钥**
3. 使用以下内容验证 **示例场景** 或 **自定义场景设置**
4. 可选添加 **聊天 UI**
5. 可选添加 **口型同步** 用于实时面部动画

## 结论

你现在已经有了一条清晰的路径来安装和验证 Convai Unity SDK。先从 **安装**，然后转到 **设置**，最后进行一次快速测试对话。

{% hint style="info" %}
**需要帮助？** 如有疑问，请访问 [**Convai 开发者论坛**](https://forum.convai.com/).
{% endhint %}


---

# 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/unity-plugin-beta-overview/getting-started.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.
