While the code generated by ChatGPT is far from perfect, it's saving tremendous amounts of time especially for me, someone with little experience in C coding. Since GPT-3 data cuts off at 2021, it's not aware of modern systems that Unity3d uses (new input system)