Dilmer Valecillos | How To Use ChatGPT With Unity During Runtime | My Early Prototype @dilmerv | Uploaded January 2023 | Updated October 2024, 7 minutes ago.
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:
github.com/mmabrouk/chatgpt-wrapper
π Roslyn C# Runtime Compiler (Affiliate Link):
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!
youtube.com/dilmerv
π Support me in Patreon so I can keep doing stuff like this for free!
patreon.com/dilmerv
π Get XR & game development tips from me in Twitter
twitter.com/dilmerv
π₯½ Learn & Get my XR Training from:
learnxr.io
π My Blog / π₯ Newsletter (Subscribe to get up to date XR news)
blog.learnxr.io
#chatgpt #chatgpttutorial #unity
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:
github.com/mmabrouk/chatgpt-wrapper
π Roslyn C# Runtime Compiler (Affiliate Link):
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!
youtube.com/dilmerv
π Support me in Patreon so I can keep doing stuff like this for free!
patreon.com/dilmerv
π Get XR & game development tips from me in Twitter
twitter.com/dilmerv
π₯½ Learn & Get my XR Training from:
learnxr.io
π My Blog / π₯ Newsletter (Subscribe to get up to date XR news)
blog.learnxr.io
#chatgpt #chatgpttutorial #unity