I am fairly new to Unity and programming in general. Im looking into learning the C# language and applying it to Unity, the tutorials provided are wonderful and all, however i feel that although i complete the tutorials i am not actually “learning” the language. Like im having a hard time retaining it all 20 mins after the video is finished. So yea…im having an issue retaining information call me stupid or whatever but im really trying. So im looking at different books on C# itself and im mostly coming up with Visual C# books. So i figure i might take a crack at learning the core of the language but im confused if “Visual C#” is the same as “C#” used in Unity.
Im reading that “Visual C#” is just microsofts implementation of C# and its no real difference, so im asking those who have used both if the difference is minimal or huge when using Visual C# and transitioning to the use of C# in Unity.
I’m not sure what tutorials you’re reading but if you’re just starting out then it’s always tough to get a handle on it, especially if you’ve never programmed before. Don’t read a tutorial and expect to be able to implement everything it outlined from then on, practice by making little applications that make use of what you’ve learned. Even if you don’t care about the end product, just think of a way to use what you’ve learned and try to make it work. And keep doing this until you feel like you’ve mastered it. Reference the tutorial if you get confused or stuck. That 20 minutes after you read/watch the tutorial would be the optimum time to practice what you’ve learned.
Read and reread the tutorials, cross-reference them with other tutorials that cover the same topic, and practice. Sometimes the way one tutorial explains a concept will just make more sense to you than others will. But none of it will matter if you don’t practice, so focus on learning one concept at a time, practicing that concept until you’ve mastered it, then moving on to the next one. Build off of what you learn and don’t try to jump to the big stuff.
Here are a list of tutorials I used to learn both C# and Unity.
I would highly recommend BurgZergArcades Hack N’ Slash Turorial series on youtube. That is how I learned. The great thing about it is he goes through every single script needed to make a RPG and the best part is you write the scripts. He talks you through it, explains, and does it himself while you do it at the same time. That series is a beginner programmers gold mine!
Learning a language takes time. Eventually you will remember it.
Compare it to learning another spoken language. You may need to listen to the same voice tutorial 10 times before it sinks in. Each time you catch a bit more.
This. A lot of topics may be hard to understand at first. Every time you come back, you’ll hopefully know a little bit more about connected topics, which will make the current ones at hand easier to understand. If you are an absolute beginner, you should try to look for comprehensive tutorials that cover a lot of ground in an organized fashion, or a book. It’s harder to understand some of the more fragmented tutorials without a solid grounding. Once you’ve gotten into the swing of things, it becomes pretty easy to learn new stuff just by reading a few short tutorials.
Also, C# is a language. Visual C# is Microsoft’s implementation of the language specification. Books that have “Visual C#” in the title usually cover features of Microsoft’s integrated development environment (IDE), Visual Studio. Unity uses Mono, an open source implementation of the .NET framework. If your computer runs Window, you can use Visual Studio. If you don’t use Windows, you can use Monodevelop instead. Technically, you could use anything from TextMate to Sublime Text. If you don’t use Visual Studio, then some content in books covering Visual C# might be confusing. The two terms are often use synonymously, however. I use Monodevelop on my Mac and haven’t had too many problems with it, but I find it to be a bit slow and clunky. In my experience, most Unity developers will tell you to use Visual Studio if you can.
So, in short, there’s no real difference when it comes to tutorials.
For books, pick up a book that covers solely C#, like C# in a Nutshell if you aren’t using Visual Studio.