- Home /
Duplicate Question
Where do i start learning C# for unity ?
Its my dream to program games in unity but i just don't know how or where to learn. it looks so complicated and i am ready to give it my all.
If people could show me where and how to learn in the best possible way i would be so very grateful.
If you are totally new to program$$anonymous$$g I would advise you to start with javascript rather than C#. C# is better but java is an easy language ,syntax wise, to learn in my view. You can easily switch later, much of the syntax is similar/same and the coding structures you will learn are pretty much the same for most languages, from visual basic to delphi...etc
This is the best place I have found for learning to code for Unity, by a very long way! There are many sites that you can find via Google that will explain the basics of code and code structure, along with "operators"(look it up).
Also Google "Hello World" this will bring up a list of sites that tell you how to do a very basic first script in pretty much every language you can imagine. These sites will be explaining things from the start and will be a good place to start your learning process.
Good luck :)
PS: If you can attend any entry level program$$anonymous$$g coarse then do it, it does not matter what language or development suite they are $$anonymous$$ching, the principles that they $$anonymous$$ch you will apply throughout the world of program$$anonymous$$g.
Ah, and so the discussion begins.
I reject the idea that java script is easier to learn than c#, and I would suggest starting with c# ins$$anonymous$$d. Especially since the version of java script that unity uses is actually unity script that looks an awful lot like java.
Very true about it being Unity Script, I did not want to add to his confusion. I've programmed in various languages and must admit to liking Java syntax, I did say in my view, everything is a personal taste...
C# is better to learn. UnityScript will save you about an hour learning about types, but cost you days of debugging time trying to understand what "xxx is not a member of UnityEngine.object" means. The documentation is also better for C#, as it exists as a language outside of Unity.
The best place to learn is the official tutorials. Be a little bit wary of learning C# from a generic C# course. There are plenty of things Unity does slightly different (null checking, components and the new keyword come to $$anonymous$$d).
There is also a comprehensive list of answers here. Please use the existing question as opposed to starting a new one.
http://answers.unity3d.com/questions/12321/how-can-i-start-learning-unity-fast-list-of-tutori.html
Follow this Question
Related Questions
Where I could find old Unity 3.5 tutorials? 0 Answers
When I open Unity, why is there no Learn tab? 1 Answer
Unite Copenhagen 2019 0 Answers
Learning Scripting (Next Step) 2 Answers
move camera relative to mouse position. 0 Answers