How To Use ChatGPT With Unity During Runtime | My Early Prototype
Channel: Dilmer Valecillos
Date: 2023-01-13

In today's video I like to show you a ChatGPT prototype where I am able to provide ChatGPT with a prompt and rules which then generates valid Unity C# code that is executed from Unity at runtime.

📚 How To Use ChatGPT In Unity | Chapters:
00:27 ChatGPT With Unity demos
00:28 Starting the ChatGPT Python Wrapper with Flask
01:25 ChatGPT Tester component overview
02:18 Making my 1st ChatGPT call from Unity to import a car and move it along the z axis
05:20 Making my 2nd ChatGPT call from Unity to create a sphere and constantly rotate it
07:44 Making my 3rd ChatGPT call from Unity to create a cube and constantly rotate it
08:51 Making my 4th ChatGPT call from Unity to import a church and constantly rotate it
11:39 ChatGPT Prototype Diagram Overview

📢 Dependencies used to create this ChatGPT prototype:
👉 Python ChatGPT Wrapper:
https://github.com/mmabrouk/chatgpt-wrapper
👉 Roslyn C# Runtime Compiler (Affiliate Link):
https://assetstore.unity.com/packages/tools/integration/roslyn-c-runtime-compiler-142753?aid=1101l7LXo

💡 Note: If you like me to make a step by step tutorial about this chat gpt prototype please let me know in the comments thank you.

📌 Support me by Subscribing to avoid missing future videos!
https://www.youtube.com/dilmerv

📌 Support me in Patreon so I can keep doing stuff like this for free!
https://www.patreon.com/dilmerv

📌 Get XR & game development tips from me in Twitter 
https://www.twitter.com/dilmerv

🥽 Learn & Get my XR Training from:
https://www.learnxr.io

👉 My Blog / 🔥 Newsletter (Subscribe to get up to date XR news)
https://blog.learnxr.io

#chatgpt #chatgpttutorial #unity