> 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/creating-a-convai-powered-scene-from-template.md).

# 从模板创建由 Convai 驱动的场景

### 第 1 步）打开 *新场景* 窗口

你可以通过两种方式打开新场景窗口，首先按 `Ctrl + N` （Windows）或 `CMD + N` （Mac）在键盘上，第二种方式是导航到 File -> New Scene

<figure><img src="/files/766fa9b09d5f6f28a73b59cecba5ae6bef7c2a72" alt=""><figcaption><p>显示在 Unity 中打开新场景窗口过程的截图</p></figcaption></figure>

### 第 2 步）选择 Convai 场景模板

根据你的项目，会有许多场景模板，但在本指南中，我们关注的是 <mark style="color:绿色;">Convai 场景模板</mark> 所以选择它并点击 <mark style="color:绿色;">创建</mark> 按钮。

<figure><img src="/files/f50cd8386edb7fefe3b295f3b52e60840c39fd7f" alt=""><figcaption><p>显示如何从 Convai 场景模板创建场景的截图</p></figcaption></figure>

### 第 3 步）保存已创建的场景

现在你可以通过按 `Ctrl + S` （Windows）或 `CMD + S` （Mac）将新创建的场景保存到项目中你想要的位置。另一种方法是导航到 File -> Save Scene

<figure><img src="/files/4236c761f7cc574187adbbde33f15cf2a9b65970" alt=""><figcaption><p>显示如何保存场景的截图</p></figcaption></figure>

这将打开保存场景窗口，选择你想要的位置；在这个演示中，我们会将其保存在 Demo 文件夹中，但你也可以将其保存到 assets 目录中的任何位置。

为你的场景命名，然后点击 <mark style="color:绿色;">保存场景</mark> 按钮

<figure><img src="/files/f3f845a08b479b152f0759aa06a857d44d28c0de" alt=""><figcaption><p>显示新创建的 Convai 场景保存位置的截图</p></figcaption></figure>

现在你可以按照我们的完整指南导入你的 Convai 角色或自定义角色

{% content-ref url="/pages/500b43f637dd22a0165f455fa2b7dc601d9faf12" %}
[导入 Ready Player Me（RPM）角色](/api-docs/zh/cha-jian-yu-ji-cheng/unity-plugin/unity-importing-ready-player-me-rpm-characters.md)
{% endcontent-ref %}

{% content-ref url="/pages/42fe405003730e0e3c7d4d8d8e112c1a444d931d" %}
[导入自定义角色](/api-docs/zh/cha-jian-yu-ji-cheng/unity-plugin/importing-custom-characters.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/unity-plugin/creating-a-convai-powered-scene-from-template.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.
