Unity3D 是否允许您使用 Java 进行编码?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/19152444/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Does Unity3D let you code with Java?
提问by tur sander
I have been searching but I get the mixed up answers with Java and Javascript. Basically I am wondering if Unity3D lets me make games with Java? I want to make browser based games, not android.
我一直在搜索,但我得到了与 Java 和 Javascript 混淆的答案。基本上我想知道 Unity3D 是否让我用 Java 制作游戏?我想制作基于浏览器的游戏,而不是安卓。
回答by Prabhakaran Ramaswamy
Currently unity3d wont support java.
目前unity3d 不支持java。
According to unity3d website.
根据unity3d网站。
Scripting with Unity brings you fast iteration and execution and the strength and flexibility of a world-leading programming environment. Scripting is uncluttered, straightforward and incredibly fast. In Unity, you write simple behavior scripts in JavaScript, C# or Boo. All three languages are easy to use and run on the Open Source .NET platform, Mono, with rapid compilation times.
使用 Unity 编写脚本可为您带来快速迭代和执行以及世界领先编程环境的强度和灵活性。脚本编写整洁、简单且速度极快。在 Unity 中,您可以使用 JavaScript、C# 或 Boo 编写简单的行为脚本。这三种语言都易于使用并在开源 .NET 平台 Mono 上运行,并且编译时间短。
What Language is Used To Develop Using Unity
回答by Blesson Jose
In Unity, you write simple behavior scripts in C# or JavaScript (UnityScript). Both languages are easy to use and run on the integrated scripting runtimes.
在 Unity 中,您可以使用 C# 或 JavaScript (UnityScript) 编写简单的行为脚本。这两种语言都易于使用并在集成脚本运行时上运行。
Read more: https://unity3d.com/unity/workflow/scripting
阅读更多:https: //unity3d.com/unity/workflow/scripting
As stated above, Unity as of now don't support java coding.
如上所述,Unity 目前不支持 java 编码。
For Java, libGDX is the best option: http://libgdx.badlogicgames.com/
对于 Java,libGDX 是最佳选择:http://libgdx.badlogicgames.com/
Though Unity has better support and documentation, libGDX is also really powerful.
尽管 Unity 有更好的支持和文档,但 libGDX 也非常强大。
Clash of the Olympians is a popular game made with libGDX https://play.google.com/store/apps/details?id=com.ironhide.games.clashoftheolympians
Clash of the Olympians 是一款使用 libGDX 制作的流行游戏 https://play.google.com/store/apps/details?id=com.ironhide.games.clashoftheolympians