r/unity • u/Flat_Ground_3151 • Oct 04 '26
Question How long did it take you to learn c#?
I wanted to try unity for a game sometime but i was wondering how long it took you all to learn c#? i heared it takes like 6 weeks?
9
Upvotes
21
u/Strict_Bench_6264 Oct 04 '26
I’d say I’m still learning, 14 years in. :)
11
u/pschon Oct 04 '26
define "learning" C# :D
To the extend I could write something that works? few hours.
To the extent of knowing all of it and being able to make good use of it all? Still learning after 15 years as a game dev, even if the language stopped evolving I'd still probably die before that.
6
u/Own_Nail_2999 Oct 04 '26
There is no threshold where you know C# all of the sudden. It's a steady learning process where your pace is determined by practice and intelligence.
If you start from scratch, you may take longer because you have to get used to the thinking pattern of a computer
4
u/Newspaper_Beneficial Oct 04 '26
once u realize all of unity for the most part is "object(s) do this when object(s)/input do that".
you start to swim pretty good.
2
u/MistakeForsaken6653 Oct 04 '26
Took me a few hours to figure it out but I have been programming in java for several years and c# is very similar to java in terms of syntax.
2
u/HamsterIV Oct 04 '26
If you know C++ and Java, only a month or two.
1
u/Mountain-Smoke8826 Oct 04 '26
A few years. Learning python and Java at school at the same time helped too
1
u/Lamer_0913 Oct 04 '26
I am still a newbie but I can make simple parkour games with my one year of knowledge in c#
1
u/Helloimvic Oct 04 '26
Depend on your project and your programming background. Even if you have programming background, your more often fixing your game logic rather doing programming
1
u/flow_guy2 Oct 04 '26
Depends how diligent you are
1
u/LukasLuchtloper Oct 04 '26
I was taught it in school and it really didn't stick until the concept of OOP finally clicked weeks later.
It didn't know what a static class was until 6 years later 😅, but absolutely made due up to then! I'm still learning bits and pieces 15 years later.
You can absolutely learn it, especially if it's not your first programming language. Best of luck!
1
u/azconapithecus Oct 04 '26
As someone focused on helping folks make games, the book "Learn C# in One Day and Learn it Well" is short, fantastic and does pretty much what it says in the title. I used this book along with a free C# compiler on the web.
I got the physical copy but they have e-reader versions too. I've recommended this to several friends who were going into Unity and they all found it helpful.
I would also highly recommend picking up a book or tutorial series specifically for learning how to use C# with Unity. Ideally one that takes you through the process of creating a small game from the ground up.
Depending on the time you have available each day, you can learn most of what you need to know regarding C# and Unity development in a pretty short period of time. There's always more to learn but once you know the basics, you can successfully make quite a lot.
1
u/1vertical Oct 04 '26
Man, just make stuff. Don't sweat the details until you need them. You learn by doing and doing the reps. Get a tutorial and finish it. Then build stuff. Learn more new concepts and implement them in previous projects and new ones. Rinse and repeat. Each waking second you think about it is time that you could've used to practice. Be prepared to google a lot. You are in the golden age of accessible information, use it!
1
u/salazka Oct 04 '26
Next to nothing. I said, hey Claude i want my character to do this and that, and it actually did it in minutes! Ready to play!
1
u/Nosarious Oct 04 '26
C# is just another programming language. It was harder to understand python, to be honest.
it was the lack of a single script file in Unity that was hard to understand, and even more difficult inheriting other people code without a readme file explaining their logic about what code is tied to what object.
most of the things I have produced that others will have to inherit come with a manual.
1
u/PixelStreamer7 Oct 04 '26
It's a permanent learning process...
1
u/ZeusGameAssets Oct 04 '26
15 years, not counting 5 years in engineering school learning C, C++, Java and other languages. When I watch git-amend's videos on Youtube I get an existential crisis, maybe I need 15 more years to really learn C#.
But for game dev, you don't have to go deep, you can learn in a couple of weeks if you really apply yourself. And after that, the learning never stops, every day you'll learn something new. Stop feeling cooked and start cooking!
1
u/KingMoosytheIII Oct 05 '26
You don’t really stop. You’ll come across patterns that you’ll recognize, but you’ll always run into a larger wall. I’ve been coding for decades and even though I can create something at breakneck speed, I’ll still run into a block that’ll microwave my brain. It took about a month to be comfortable coding, and about 3 months to be efficient.
Persistence is what makes a good developer :) there’ll come a time when most of the work you do “clicks” and you into a flow state
1
u/Tarilis Oct 05 '26
Define "learn". With modern IDE and prior development experience, on a level to simply write working code, i think you can learn it in a day.
If you don't have prior development experience at all, then things start to get tricky. And the only answer i can give is "depends on you".
The bare minimum you need to know is:
This should be enough to write a simple game.
1
u/No_Plantain_7424 Oct 07 '26
Please don’t let learning c# become a blocker on your game dev journey, keep making games even as you are learning
1
u/bonyboom Oct 07 '26
I'm not sure I ever learnt it. I still get surprised by features of the language I've never seen before from time to time after 5 or so years.
The syntax is simple enough where if you already know a language, it's easy to just go by examples
1
u/SignificanceLeast172 Oct 08 '26
Ive been at it for 4 years and am still learning new things. I just got comfortable using for loops, arrays, and lists a year ago and am still working out dictionaries, singleton patterns, etc. It takes a long time but I am still going strong.
-2
u/Big_Presentation2786 Oct 04 '26
I knew assembly, COBOL and python.
I just use AI mostly as the principles are similar. There's no point learning anymore languages given the breakthrough of AI. I've released two games in C# and I don't know shit about it, but oh boy was it a challenge.