I recently read somewhere that the unity engine supports JavaScript language but I have a question.
How to use JavaScript language in unity engine?

New contributor
Kia4king is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • They have started to unsupport UnityScript (they never used true JS but rather psuedo JS called UnityScript.) . You can still use UnityScript scripts in the code however by simply dragging the script files into your script folder as a workaround. Read this: blogs.unity3d.com/2017/08/11/… – Super MegaBroBro Dec 7 at 14:44
up vote 2 down vote accepted

Your information is out of date. Unity used to support Javascript, via a custom Javascript variant language called UnityScript. It also used to have a language called Boo. Support for both has been discontinued. C# is now the only language that Unity uses for scripts. By default, this is 3.5 version of C#, but 4.6 is an option you can switch to via the Player Settings option screen.

Your Answer

Kia4king is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.