I notice that in MonoDevelop editor the auto correction for javascript it doesn't work . Does this mean that Unity is willing to abandon JS ? Can I use Java script language in Unity 2017.2 ?
The language is called UnityScript -- it has some JavaScript/ EcmaScript like syntax, but isn't JavaScript -- and Unity has deprecated it. You can convert UnityScript to C#, though (or download a much older Unity version).
Also, that Javascript is no longer supported on Unity3d.
JavaScript is great for game development but is no longer supported by Unity so you will need to use C#. C# is reasonably easy to learn, especially compared to C++.
Unity Technologies We removed the menu item because we would like to avoid new users picking it up, but you can still add new UnityScript files to your project by other means.
Yes, you can still use it in Unity 2017.2. The menu to create a Javascript script is gone. You have to create a Javascript file with an external file Editor like Notepad then drag it into your Unity project and it should just work. It should have .js extension.
Note that Unity is in the process of stripping the Javascript compiler out of Unity Editor so you won't be able to use Javascript in the future. See this post for more information.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With