在游戏引擎中使用单点触控
如您所知,monotouch 是 ios 原生 api 的 C# 接口。有没有机会在ios游戏中使用monotouch?我检查了unity3d和unreal开发套件。没有这样的功能。有没有办法在ios游戏引擎中使用c#?
例如:我想在游戏中拨打电话
as you know monotouch is the c# face of ios native api. is there any opportunity to use monotouch in ios games? i examined unity3d and unreal development kit. there is no ephesized feature like this. is there any way to use c# in an ios game engine?
For example: i want to start a phone call in a game
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 Unity iPhone 中,您可以通过插件调用来访问 iOS 的本机功能。通常这些插件方法是用 ObjC/C/C++ 编写的。
http://unity3d.com/support/documentation/Manual/Plugins.html
也许可以使用 MonoTouch 编写插件,并在将它们编译为本机代码后从 Unity 访问它们,但我严重怀疑是否有人尝试过这样做。
In Unity iPhone you can access native features of iOS by calling them through plugins. Usually those plugin methods are written in ObjC/C/C++.
http://unity3d.com/support/documentation/Manual/Plugins.html
It might be possible to write plugins using MonoTouch, and access them from Unity after they've been compiled to native code, but I seriously doubt anyone has attempted that.