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

查看:18
本文介绍了在 iOS 中将 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 和自己编写的界面元素?界面生成器等?

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 中使用 3rd 方库并将它们集成到构建过程中.在摆弄正确的设置后,我写了一篇关于此的博客条目:

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 项目中集成第 3 方静态库

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

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