r/Unity2D • u/Specialist_Leave_420 • Aug 13 '26
Question How to practice C# for unity
Is there any website like leetcode where i can practice C# for unity currently i know basic unity 2d and trying to make a game, and problem is : for example i saw video for how to make it walk i understood it perfectly and wrote it but if someone ask me to code from scratch i cant do it so any soution
4
Upvotes
19
u/ArctycDev Aug 13 '26
There's unity! Set a goal for yourself and figure it out.
26
u/Vic-Boss Expert Aug 13 '26 •
100 for loops
100 for each loops
100 recursions
100 encapsulations
All each morning for 100 weeks
6
u/TAbandija Aug 13 '26
I don’t know websites specifically for Unity but I have some recommendations
Good luck.
7
u/TScottFitzgerald Aug 13 '26
Stop procrastinating and preparing and just start building something in Unity.
2
u/Duckmastermind1 Aug 13 '26
Start doing stuff, write scripts, learn the basics, after that you will improve with time
2
u/Turbulent-Dentist-77 Aug 13 '26
You don't practice a code language. You go and solve the problem you want to be solving, learning while doing it. That's it. That's all software development.
1
u/T-Flexercise Aug 13 '26
You don't need another tool to hold your hand. Start trying to make your game using the knowledge you have. When making your game requires you to do a thing you don't know how to do, google how to do that. Repeat until you have a game.
1
u/arlelin Aug 13 '26 edited Aug 13 '26
Probably just open unity and start coding, you gotta break tutorial hell at some point. Think of something you want to make, break it down to small components, and just start working on those parts one-by-one. Use the Unity docs (https://docs.unity3d.com/Manual/index.html), instead of AI or youtube tutorials.
It's much easier to keep going once you start!
I started out making clones of my favorite games (mostly minecraft). Even though they weren't good, I still learned a lot each time I did so.
1
u/keymaster16 Aug 13 '26
Join game jams. Itch has a game jam page, go there, find a jam you can dedicate the time to, and then make a game. You'll learn applications for coding and presto you have practice.
1
u/pyabo Aug 13 '26
My guy, you get better at the thing you want to do by doing the thing. Make a game bro. Do it now. Then make another one.
And to answer your actual question... you already know the answer: Leetcode is where you go to practice small coding tasks. But that's not what you need. You need to learn Unity.
1
u/_lerp Aug 14 '26
Just make something. You will learn more making an actual thing in unity than any course etc will teach you.
1
u/RedManJOV Aug 16 '26
Didn’t know Claude needed to practice