gpt4 book ai didi

java - 我需要 java 编程知识才能在 unity 3d 中开发 android 游戏吗?

转载 作者:行者123 更新时间:2023-11-30 02:56:08 25 4
gpt4 key购买 nike

我想学习安卓游戏开发。我没有任何编程知识。所以我应该学习JAVA和eclipse来开发android游戏。

或者我应该学习 Unity 3d。 java编程知识是否是统一开发android游戏所必需的?或者了解 Javascript/UnityScript 就可以了。我可以仅使用 JavaScript 知识来开发 Android 游戏吗??

在谈论 android 游戏开发时,unity 比 Java/eclipse 有什么好处,反之亦然?

最佳答案

Unity 3D主要使用两种编程语言:C#Javascript

您的问题是您是否真的需要了解Java 编程才能在Unity3D 中开发游戏

The Answer would be a YES and a NO

是的,因为如果您已经学过 Java,用 C# 编程会容易得多。

如果你在网上搜索,大多数比较 C# 和 java 的帖子都说 C# 与 Java 有点相似,只是它们都是面向对象的。

不是,因为尽管它们有些相似,但 C# 是另一种从 Java 演变的编程语言,当今的开发人员和应用程序主要使用 C# 开发 android 应用程序。

这是微软文档之一的引述:

Naturally, Java came before C#, and C# was not created in a vacuum. It is quite natural that C# learned from both the strengths and weaknesses of Java, just as Java learned from Objective-C, which learned from C. So, C# should be different than Java. If Java were perfect, then there would have been no reason to create C#. If C# is perfect, then there is no reason to create any new programming language. The job would then be done. However, the future is unclear, and both C# and Java are good object-oriented programming languages in the present, so they beg to be compared.

It is important to note that not everything can be covered here. The subject matter is simply too large. The goal is to give enough information so as to help managers and software developers make a better-informed choice about which language to use in certain situations. Maybe some little language quirk in C# may make someone choose Java. Maybe some blemish in Java will influence someone to pick C#. Either way, this document will attempt to dive deep enough into details to dig up some hidden treasures that aid in our goal.

要获得更深入的解释,这里有一个文档 on programming languages, comparing C# and Java

如果您要学习 C#Javascript,最好先了解它们的区别。这是一篇关于 Syntax differences in C# and Javascript 的帖子

用于深入教程这是关于 Learning C# programming in Unity 3D 的电子书.您也可以访问 Unity3D 的网站以获取他们自己的 Collection tutorials .

关于java - 我需要 java 编程知识才能在 unity 3d 中开发 android 游戏吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23228417/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com