查看: 850|回复: 0
打印 上一主题 下一主题

【技术问答】unity3D引擎为什么是c#开发的?

[复制链接]

3795

主题

2

听众

5万

积分

版主

Rank: 7Rank: 7Rank: 7

纳金币
53202
精华
32

活跃会员 优秀版主 推广达人 突出贡献 荣誉管理 论坛元老

跳转到指定楼层
楼主
发表于 2013-2-16 10:08:14 |只看该作者 |倒序浏览
问: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.
分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

手机版|纳金网 ( 闽ICP备2021016425号-2/3

GMT+8, 2025-7-27 17:51 , Processed in 0.074328 second(s), 32 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部