我可以在Unity3d 2017.2中使用Java脚本语言吗? [英] Can I use Java script language in Unity3d 2017.2?

查看:111
本文介绍了我可以在Unity3d 2017.2中使用Java脚本语言吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到在MonoDevelop编辑器中javascript的自动更正它不起作用。
这是否意味着Unity愿意放弃JS?
我可以在Unity 2017.2中使用Java脚本语言吗?

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 ?

推荐答案

,你可以仍然在Unity 2017.2中使用它。创建Javascript脚本的菜单已消失。您必须使用外部文件编辑器(如记事本)创建一个Javascript文件,然后将其拖到Unity项目中,它应该可以工作。它应该具有 .js 扩展名。

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.

请注意,Unity正在从Unity Editor中删除Javascript编译器,因此您不会能够在将来使用Javascript。有关详细信息,请参阅帖子。

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.

这篇关于我可以在Unity3d 2017.2中使用Java脚本语言吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆