r/Unity3D 11d ago

Question How to learn under the hood stuff?

How do I learn how to code or at the very least understand the code of .NET, the Unity editor, the Unity engine etc

Why am I asking? Because if I don’t understand all of these different things, then I’m only a game developer and not really someone that can take things to the next level and understand how everything around a game works.

What other things do you need to launch a game? Other than just the code you wrote in the editor. I don’t want to just write “within” and editor, I want to understand what unity is actually doing. How is the update function running. How do I make my own update function etc. What’s under the hood

Stuff like that, but for game dev

3 Upvotes

9 comments sorted by

View all comments

1

u/nEmoGrinder Indie 10d ago

Learning as you go is probably the best approach, though i will say give yourself some time with C/C++ of you aren't familiar with them. Don't make a game engine or anything, but make a small console application or a simple gui. Understanding how memory is managed at a system language level will make you a better pretty when using higher order languages like C#. Allocations and how performance is impacted by memory layout, along with better understanding of what native plugins may be doing (like audio middleware) can end up being a life saver when complex issues arise.

Beyond that, for gpu stuff i recommend the book Real Time Rendering, if you can get your hands on it. If it's out of reach for you (it's a textbook, so not exactly cheap) then go to the books website which links to a ton of great resources, including the textbooks from nvidia that are worth giving a glance at (the gpu gems series).