i have found loades of Unity tutorials but some use C# and some javascript. So I don’t get mixed between the two I want to only use tutorials for either C# or javascript.
Which scripting language is easier and more efficient for Unity?
Would you recommending learning one then learning the other after?
Well, Unity planning on supporting C# more for Unity 5, so that’s one good reason for C#.
I doubt either one is any more efficient than the other and how easy it is depends on whether you have any prior knowledge, really.
In my experience JavaScript is easier to pick up on. However, C# is closer to the industry standard language, and (again in my experience) easier to read.
This is actually a matter of opinion and personal preference.
I found UnityScript and JavaScript annoying and confusing when I started.
Well that’s why I said, “in my experience…”.
C#, since UnityScript in nothing like real JS which adds to confusion, while C# is still a usefull language outside of untiy, that has better documentation and more libraries
I’d recommend C# as well. There’re alot of tutorials, many examples and quite some nice documentations. US isn’t bad either, but i think the majority tends to use C# these days, so you’ll probably be better of with it in the future.
Additionally, as already mentioned, it’s very useful if you wanna develop some programs outside of Unity later on, using C#. And once you know C#, you can easily switch to Java (not the same as JavaScript!) as they’ve got extremely much in common.
C++ wouldn’t be that far away either, although there are some distinct differences in how it works, ‘syntax-wise’ it would be rather easy.
However, if you still decide to learn JavaScript/UnityScript, you’ll have a fun too and once you understood one programming language, it’s often quite easy to get into other languages as the principles are often similar, the syntax is the main difference.
Well, I know C++, C#, and javascript/unityscript. And, despite what almost everybody on the forums will say, I LOOOOOOVE javascript compared to C#. I really have no good reason, I just like it better. So it is honestly whatever floats your boat.
C# and it’s been answered many times so I’m locking this.