Unity is good if you're C# fluent. But Unreal has Blueprint which transform coding into visual scripting:
https://dev.epicgames.com/documentation/en-us/unreal-engine/blueprints-visual-sc...
My take if you're starting game coding, ask an AI chatbot like ChatGPT for complex classes or even as the baseline of your game architecture. These days. I use both Grok and ChatGPT, they are very helpful.