精通
英语
和
开源
,
擅长
开发
与
培训
,
胸怀四海
第一信赖
Solution 1 解决方法1
First of all you need to understand the basic different between them so that you can choose which one to use in your case. First of all, Unity3D is a gaming engine and Xamarin is a cross-platform application development framework. Although there purpose is same, but their functionality and features are different. They both do support C# as programming language and can build cross-platform executables. But there are major differences in both of them.
首先你需要了解它们之间的不同基础,让您可以根据你的情况选择哪一个使用。首先,Unity3D是一个游戏引擎,而Xamarin是一个跨平台的应用开发框架。虽然目的是相同的,但它们的功能和特点是不同的。他们俩都支持C#作为编程语言,可以构建跨平台的可执行文件。但两者也有主要区别。
在Unity3D:
1. You can develop or edit 3D models (external resources can also be used, such as Autodesk Maya).可以开发或编辑3D模型(外部资源也可以使用,诸如,Autodesk Maya)。
2. You can also use those models for your applications. Such as: games, presentations and other similar simulations where you would require 3D objects and a little programming.您也可以使用这些模型为您的应用程序。如:游戏,演示文稿和其他类似的模拟,在那里你将需要3D对象和一个小编码。
3. Binaries can be created cross-platform.二进制文件可以创建跨平台的。
在Xamarin:
1. You can develop entire application, but not the graphics that will be presented. You have to provide the graphics by external resource.
1. 您可以开发整个应用程序,而不是将要呈现的图形。你必须由外部资源提供图形。
2. Cross-platform support.
2. 跨平台支持。
3. You can import FBX or other 3D models (or your 2D graphics if that is a 2D game) but that would then again require more capabilities for Xamarin, thus asking you for a better license subscription. Have a look.
3. 您可以导入FBX或其他3D模型(或您的2D图形,如果这是一个2D游戏),但是那将再次需要Xamarin更多的功能,因此要求您订阅一个更好的许可证。
*Binaries for different OS would require the OS to be running, such as MacOS or iPhone require you to be on MacOS to build the project for Apple products.
*针对不同的操作系统二进制文件将需要操作系统上运行,如MacOS的或iPhone要求您必须在MacOS打造为苹果产品项目。
Now, since you want to create a game. I would right away ignore Xamarin and recommend you to use Unity3D because it is a gaming engine. You will be able to import your resources add a little tinkering effects and compile them in binaries (please see the * note above). Xamarin on the other hand, can develop games. But is not a gaming engine so most of the frameworks and assemblies you would have to write yourself or purchase another license and etc. Unity3D is free for indies and low-budget teams, Xamarin doesn't care about that, if you're a student you get offer, if not you get to pay a license. Even for building a cross-platform UI you have to get a commercial license. That is why, I would never recommend using Xamarin, even if C# is the language offered.
现在,既然你想创建一个游戏。我会马上忽略Xamarin推荐你使用Unity3D是因为它是一个游戏引擎。您将可以导入你的资源加一点修修补补效应和二进制编译它们(请参见上面的注)。 Xamarin另一方面,可以开发游戏。但是,这不是一个游戏引擎,所以大部分的框架和组件的你就必须自己编写或者购买另一个许可证等Unity3D是免费的独立电影和低预算的球队,Xamarin不关心,如果你是一个学生你的报价,如果不是你得到支付牌照。即使对于建立一个跨平台的UI,你必须获得商业许可。这就是为什么,我绝不会建议使用Xamarin,即使C#是提供的语言。