纳金网

标题: 【技术问答】unity3D引擎为什么是c#开发的? [打印本页]

作者: 驰骋的风    时间: 2013-2-16 10:08
标题: 【技术问答】unity3D引擎为什么是c#开发的?
问:c#不是性能比较低吗,unity3d为什么选择mono c#来开发内核呢?为什么不用c++呢?c++编写游戏引擎不是性能更高吗?  
答:底层大部分肯定是C/C++的
附上老外回答:


Is Unity Engine written in Mono/C#? or C++


The Unity***ntime is written in C/C++. This***ntime is used in any build you create using the editor - for webplayers and plugins it is installed separate from your build, whereas it is included in it for stand-alones and other platforms such as iPhone and Wii.
The editor is built on the Unity***ntime and additionally includes editor-specific C/C++ binaries.
Wrapped around the Unity core is a layer which allows for .net access to core functionality. This layer is used for user scripting and for most of the editor UI.





欢迎光临 纳金网 (http://go.narkii.com/club/) Powered by Discuz! X2.5