在Unity中将Unity生成的代码与Objective-C混合使用? [英] Mixing Unity generated code with Objective-C in iOS?

查看:158
本文介绍了在Unity中将Unity生成的代码与Objective-C混合使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将iOS代码和界面元素与Unity生成的iOS代码混合使用?

Is it possible to mix iOS code and interface elements with Unity generated iOS code?

例如,如果我正在与在Unity中开发游戏的游戏开发人员合作,我可以使用他的xCode项目(由Unity生成),并添加界面元素我使用Objective-C&编码自己。 Interface Builder等?

For example if I am working with a game developer who is developing a game in Unity, could I take his xCode project (generated by Unity), and add interface elements which I code myself using Objective-C & Interface Builder etc?

从我所看到的情况来看,这是不可能的,因为一切都是通过Unity创建的......但希望我错了......

From what I can see this isn't possible as everything is created via Unity.... but hopefully I am wrong...

谢谢!

推荐答案

您甚至可以在XCode中使用第三方库并集成他们在构建过程中。在摆弄正确的设置后,我写了一篇关于此的博客文章:

You can even use 3rd party libraries in XCode and integrate them in the build process. After fiddling around with the right settings I wrote a blog entry about this:

iPhone& Unity3D:在Unity3D生成的XCode项目中集成第三方静态库

这篇关于在Unity中将Unity生成的代码与Objective-C混合使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆