Skip to content

This repo is a "ChatGPT-Unity 3D Code Generator" application is developed in Unity 3D.

License

Notifications You must be signed in to change notification settings

mertusta1996/ChatGPT-Unity-3D-Code-Generator

Repository files navigation

ChatGPT-Unity-3D-Code-Generator

This repo is a "ChatGPT-Unity 3D Code Generator" application is working with Unity 3D.

Usage

  • Creates and Saves a new Unity3D script, with ChatGPT AI's power in UnityEditor. (for the descripted code instruction, with the descripted code name)
chatGPT-Unity3D.Code.Generator.video.mp4

Setup

1 - Download the repo.

2 - Start the sample Unity3D scene. (Assets\ChatGPT Unity Code Generator\Scenes\Code Generator Scene.unity)

3 - Configure the "OpenAI ChatGPT API key" (https://platform.openai.com/account/api-keys), model name (I used "gpt-3.5-turbo"), your new script's name and your new script's instructions from the "ChatGPT - Unity Code Generator" gameObject in scene.

4 - Press "Generate Unity3D Code" button in the "ChatGPT - Unity Code Generator" gameobject's (it's an "Editor" button).

5 - Use the generated code from "Assets\ChatGPT Unity Code Generator#Generated Unity Code" to your scenes.

Note : When copying and pasting the all "OpenAI ChatGPT API key", the key could be change for the security of token. So copy-paste the API key in pieces (not the all key).

Author

  • Mert Usta
  • https://github.com/mochi-neko/ChatGPT-API-unity (I've used the connection parts of this project, that I needed by extracting it from the work here.)
  • All the magic is in the "OpenAI" and their wonderful product named "ChatGPT", the others(including me) just trying to use the API in the other platforms and the projects.

About

This repo is a "ChatGPT-Unity 3D Code Generator" application is developed in Unity 3D.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages