Just to be very clear, this is *not* a joke. It's pretty much just raw GPT-3 running on a simple prompt with a large output size. I really didn't do much to prime the model here, it's just running as is. All I did was ask nicely.
After that my part was just creating what I lovingly call a bootleg code formatter/highlighter that runs within the built-in Unity GUI. The API sends back everything as a single line, so it needs to get cleaned up to compile and run.
If you have an OpenAI API key, you can try this yourself with the prompt followed by `using UnityEngine;` on a new line which essentially tells gpt-3 that you're looking for a piece of code, since it's trying to complete what you started. Adjusting the temperature helps.
Full transparency, the video is edited down a bit because I was having inconsistent results with different prompts.
A common issue is that the text would show up twice with numbers in between, I'm guessing it comes from samples with line numbers and a plain text version to copy.
Apparently it's also capable of building shaders, but those tend to be pretty long so it consumes a lot of tokens for each request and they are very complex to format so I didn't experiment much with it.
I originally wanted to tie that into my VR experiments, but I think @Alientrap already killed it with his GPT3 NPCs: