hi. I am a junior in unity. But i now JS very good. I am a web Developer.
And i want to know, which lenguige is good for unity (js or C#)? what language is considered a priority? What is the difference between (js and C#) in unity?
About the differences, there is already a lot of questions, included that one picked up from the FAQ:
http://answers.unity3d.com/questions/12911/what-are-the-syntax-differences-in-c-and-javascrip.html
If you are already used to JavaScript, maybe it could be the right one for you, as you already know it's syntax, making learning the "Unity way" a lot easier.
But, be warned, JavaScript in Unity is someway different, as stated here:
http://wiki.unity3d.com/index.php?title=UnityScript_versus_JavaScript
As you can see, it is so different, that the community even calls it UnityScript.
If you already know the C/C++/C# syntax, I would reccomend you to give a try to C#, as you will not only produce better code, as you will find more tutorials and examples in internet in that language.
Answer by MastersOfUs · Jan 08, 2016 at 03:19 PM
It depends on the project. If you know JS well, and you are just making a small project, JS would be the easiest, and therefore the best. For bigger projects you should really use C#, as a class-based object-oriented language really benefits you when you have multiple scripts working together.
I would suggest sticking to what you're the most comfortable with.
Answer by ClearRoseOfWar · Jan 08, 2016 at 06:09 PM
Someone correct me if I'm wrong, but I was reading in a book that c# is used with on windows platforms, where JS is suitable to all platforms..
Unity's C# is used for all platforms, like Unity's JavaScript.
Unity converts all scripts to C++ code, C# and UnityScript is just the way that the develloper will create it's scripts.
Your answer
![](https://koobas.hobune.stream/wayback/20220612055441im_/https://answers.unity.com/themes/thub/images/avi.jpg)