- Home /
Which language should I learn?
JavaScript or C# ?
Answer by DaveA · May 15, 2011 at 04:25 PM
They really are very very similar. The docs have examples in all languages (use the drop-down to change it). I would actually recommend C# because it is slightly more strict (typing) to force you into better habits, and you'll have less problems with your scripts referencing each other if you needed to mix JS and C#. Plus, if you needed things outside the Unity manuals (that would be the MSDN reference), most of those examples are in c#. But again, the differences are very slight.
Answer by Antony-Blackett · May 15, 2011 at 02:19 AM
JavaScript will be easier to pick up. But c# I find more useful. And if you learn C# then you'll pretty much know more things about JavaScript.
At the end of the day they are pretty similar so once you learn one the other will be really easy to pick up.
Answer by Joshua · May 15, 2011 at 02:50 AM
JS is slightly easier, but I'd say go for JS because all the manuals seem to be written in it.
@The OP: I wouldn't let the documentation's emphasis on UnityScript deter you from going with C# if you're so inclined. The documentation is s$$anonymous$$dily beco$$anonymous$$g more C#-friendly. Plus, you can always get help on the forums, and anything you need to know that isn't Unity-specific, you can find out using $$anonymous$$SDN or any other good C# reference.
Of course, the community is great and you could probably learn both with relative ease and a lot of help.