简体   繁体   English

是否可以将Unity应用集成到iOS应用中?

[英]Is it possible to integrate a Unity app into an iOS app?

I have a Unity app that I made some time ago and am having a school project about related subject (chess game) in Swift. 我有一个我前段时间制作的Unity应用,并且正在Swift中进行有关相关主题(棋类游戏)的学校项目。

I'm aware that iOS is compatible with Unity in running a whole Unity app, but is it possible to integrate both apps: I click on a Swift button called "3d scenario", and it launches the Unity app within, then I click on "return" button in unity to dismiss it and return to previous iOS app (either previous view or main menu, doesn't matter). 我知道iOS可以在运行整个Unity应用程序时与Unity兼容,但是可以将两个应用程序集成在一起:我单击一个名为“ 3d场景”的Swift按钮,然后在其中启动Unity应用程序,然后单击统一使用“返回”按钮将其关闭并返回上一个iOS应用程序(无论是上一个视图还是主菜单,都没有关系)。

I can't find any help on the subject, but if it is possible. 在这个问题上,我找不到任何帮助,但有可能的话。 Could you briefly explain how the launch and "exit" functions are done? 您能否简要解释一下启动和“退出”功能是如何完成的? Also the same question for Unity within android if possible. 如果可能的话,同样的问题在android中的Unity。

这样做的可能方法是将其在Unity中导出到所选的平台(IOS或Android),然后将源嵌入到您的应用程序中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM