如何在当前现有的ios项目中添加unity项目? [英] How to add unity project in a currently existing ios project?

查看:195
本文介绍了如何在当前现有的ios项目中添加unity项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经搜索了很多关于此的内容。但是所有答案都表明,可以将新文件添加到unity(xcode)项目中,但反之亦然。实际上,我的目标是创建将用于cordova插件的sdk。我该怎么办?

I have searched a lot about this. But all the answers suggest that, it is possible to add new files into unity(xcode) project but vice versa is not possible. Actually, my target is to create sdk which will be used in a cordova plugin. What should I do?

推荐答案

要创建一个统一的iOS sdk,您可以在xCode中创建一个库项目并将构建导入到unity的资产/插件/ iOS 文件夹。这里的所有内容都将自动包含在Unity生成的xCode项目中。

To create an iOS sdk for unity you can create a library project in xCode and import the build to unity's Assets/Plugins/iOS folder. everything in here will automatically get included in xCode project generated by Unity.

是的,在你自己的xcode项目中包含unity build非常困难。曾经有人乞求启发,将Unity集成到另一个应用程序中,但每次线程都被搁置在希望之外。喋喋不休......这是不可能的。

And yes, it's very hard to include unity build in your own xcode project. There have been people begging for enlightenment to integrate Unity in another app but every time the threads are stranded beyond hope. Gibberish-gibberish... It's not possible.

这篇关于如何在当前现有的ios项目中添加unity项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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