# Unity+ChatGPT对话小游戏 **Repository Path**: KakouGame/unity-chat-gpt-dialogue-games ## Basic Information - **Project Name**: Unity+ChatGPT对话小游戏 - **Description**: 你好,这是一个使用Unity以及OpenAI API实现的对话小游戏。你需要OpenAI API和Azure的密钥才可以使用该示例。本示例仅作为简单演示,仅供参考。 - **Primary Language**: C# - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 7 - **Forks**: 4 - **Created**: 2023-05-25 - **Last Updated**: 2025-01-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Unity+ChatGPT对话小游戏 #### 介绍 使用Unity和OpenAI API实现的一个对话小游戏,你需要Azure和OpenAI的密钥才可以使用。 #### 安装教程 B站有使用教程 [【教程】教你用Unity实现ChatGPT对话小游戏_哔哩哔哩_bilibili](https://www.bilibili.com/video/BV13h4y147eJ/?vd_source=1bcf26dcde319bde601724520e42d7e5) #### 使用说明 本项目依赖以下几个包,你需要安装这些包才可以使用本项目: 1.Azure的语音SDK [安装语音 SDK - Azure Cognitive Services | Microsoft Learn](https://learn.microsoft.com/zh-cn/azure/cognitive-services/speech-service/quickstarts/setup-platform?pivots=programming-language-csharp&tabs=windows%2Cubuntu%2Cunity%2Cjre%2Cmaven%2Cnodejs%2Cmac%2Cpypi) 2.Vroid的Unity插件包 [Release v0.110.0 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/releases/tag/v0.110.0) 3.一个Unity主线程的插件,用于解决Unity输入栏的BUG [GitHub - PimDeWitte/UnityMainThreadDispatcher: A simple, thread-safe way of executing actions (Such as UI manipulations) on the Unity Main Thread](https://github.com/PimDeWitte/UnityMainThreadDispatcher) 4.一个非官方维护的OpenAI API包 [GitHub - RageAgainstThePixel/com.openai.unity: A Non-Official OpenAI Rest Client for Unity (UPM)](https://github.com/RageAgainstThePixel/com.openai.unity)