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

# NPC2NPC

本 Unity 教程演示了如何使用 Convai 的 NPC2NPC 功能，在 3D 虚拟环境中实现 NPC 与 NPC 之间的对话。该功能使两个 NPC 能够围绕预设主题进行动态、低延迟的对话，同时允许玩家或其他游戏实体打断并与它们互动。因此，这一功能可通过故事叙述、教程流程或任务触发等用例，打造更具吸引力和互动性的游戏世界

查看这个演示和教程，了解如何在 Unity 中实现这一功能。我们还将与教程一起发布示例项目源代码，帮助你快速上手。

***

下载免费的示例项目文件：

{% embed url="<https://drive.google.com/file/d/1ddaxaRmdh_BTwO41KkipqwtD18Q11kYX/view?usp=drivesdk>" %}

***

Unity Asset Store 插件链接：

{% embed url="<https://assetstore.unity.com/packages/tools/behavior-ai/npc-ai-engine-dialog-actions-voice-and-lipsync-convai-235621>" %}

***

角色详情

姓名：Christina Smith\
ID：64247ac6-74f8-11ef-be3e-42010a7be011

姓名：Kevin Shaw\
ID：7ffaee42-74f8-11ef-8980-42010a7be011

***

### 供您帮助的资源与参考资料

NPC2NPC 操作指南：

Unity Factory 场景 HDRP：

{% embed url="<https://assetstore.unity.com/packages/3d/environments/industrial/unity-factory-276400>" %}

请在以下地址注册 [Convai](https://convai.com/) 开始使用。对于任何问题或漏洞报告，请访问 [Convai 开发者论坛](https://forum.convai.com/) 在这里，我们的社区和支持团队将很乐意为您提供帮助。


---

# 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/tutorials/npc2npc.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.
