您可以将Unity 3d游戏放入Xamarin跨平台应用程序中吗 [英] Can you put a Unity 3d game in a Xamarin cross platform app
问题描述
您可以在Xamarin跨平台应用中放置Unity 3d游戏吗?
Can you put a Unity 3d game in a Xamarin cross platform app?
我正在使用Unity 3D开发游戏,并且希望将该游戏包含在我的Xamarin Cross Platform App中.
I am developing a Game using Unity 3D, and I would like to include the game in my Xamarin Cross Platform App.
该游戏是一款迷你游戏,我将免费赠送给下载和使用我的应用程序的客户.
The Game is a mini game that I will give away free to customers who download and use my App.
这可能吗?
推荐答案
您可以在Xamarin跨平台应用中放置Unity 3d游戏吗?
Can you put a Unity 3d game in a Xamarin cross platform app?
要视情况而定.
假设您不是在谈论浏览器游戏,Unity会创建自己的可执行文件和/或入口点.您可能必须将Unity3D创建的游戏作为资源嵌入到原始应用程序中,例如Windows Phone应用程序.然后以子进程形式启动游戏.
Assuming you are not talking about browser games, Unity creates its own executable and/or entry point. You would probably have to take the Unity3D-created game and embed that as a resource in the original app, say a Windows Phone app. Then launch the game as a child process.
原始应用:
您可以将Unity3D创建的Windows Phone应用程序作为资源嵌入到现有Windows Phone应用程序中.您可以将其作为子进程生成吗?
You may be able to embed a Unity3D-created Windows phone app as a resource in an existing Windows Phone application. You could just spawn it as a child process?
但是,没有什么可以阻止您使用Unity3D制作游戏并生成网络游戏.
However, there is nothing stopping you from making a game in Unity3D and having it generate a web game.
访问用于Unity 5中Web发布的免费构建选项.一旦用户安装了它,广受欢迎的Unity Web Player插件将自动更新.使用它来部署到Internet Explorer,Safari,Mozilla Firefox等. 告诉我更多信息
然后,您的Xamaring应用程序可以简单地显示一个网络浏览器,您可以从中使用它来玩游戏.
Your Xamaring app can then simply display a web browser from which you can play your game.
我看到您的"Merricks Jewelry" 应用已经在iOS商店中.请注意,如果您奉行网页游戏方法,我一度知道Apple在本地应用程序方面严格要求,这些应用程序本质上是基于Web内容的外壳.您可能需要向Apple查询.可能仍然如此,或者可能并非如此.
I see your "Merricks Jewelry" app is already on the iOS store. Be warned that should you pursue the web game approach, I know at one point Apple were strict at one point about native apps that were essentially shells for web-based content. You may need to check with Apple. It may still be the case or it may not.
这篇关于您可以将Unity 3d游戏放入Xamarin跨平台应用程序中吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!