您可以将 Unity 3d 游戏放入 Xamarin 跨平台应用程序吗 [英] Can you put a Unity 3d game in a Xamarin cross platform app

查看:36
本文介绍了您可以将 Unity 3d 游戏放入 Xamarin 跨平台应用程序吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您能否将 Unity 3d 游戏放入 Xamarin 跨平台应用程序中?

我正在使用 Unity 3D 开发游戏,我想将该游戏包含在我的 Xamarin 跨平台应用程序中.

The Game 是一款迷你游戏,我将免费赠送给下载和使用我的应用程序的客户.

这可能吗?

解决方案

您能否将 Unity 3d 游戏放入 Xamarin 跨平台应用程序中?

这取决于.

假设您不是在谈论浏览器游戏,Unity 会创建自己的可执行文件和/或入口点.您可能需要使用 Unity3D 创建的游戏并将其作为资源嵌入到原始应用程序中,例如 Windows Phone 应用程序.然后将游戏作为子进程启动.

原始应用:

您可以将 Unity3D 创建的 Windows Phone 应用程序作为资源嵌入到现有的 Windows Phone 应用程序中.您可以将其作为子进程生成吗?

网页游戏

然而,没有什么能阻止您在 Unity3D 中制作游戏并让它生成网页游戏.

<块引用>

在 Unity 5 中访问用于 Web 发布的免费构建选项.用户安装后,广受欢迎的 Unity Web Player 插件会自动更新.使用它部署到 Internet Explorer、Safari、Mozilla Firefox 等.

浏览器外壳应用

我看到您的 Merricks Jewelry" 应用已在 iOS 商店中上架.请注意,如果你采用网页游戏的方法,我知道苹果一度对原生应用程序很严格,这些应用程序本质上是基于 Web 的内容的外壳.您可能需要咨询 Apple.可能仍然如此,也可能不是.

Can you put a Unity 3d game in a 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.

Is this possible?

解决方案

Can you put a Unity 3d game in a Xamarin cross platform app?

It depends.

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.

The original app:

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?

Web Game

However, there is nothing stopping you from making a game in Unity3D and having it generate a web game.

Access complimentary build options for Web publishing in Unity 5. Once a user installs it, the hugely popular Unity Web Player plugin updates automatically. Use it to deploy to Internet Explorer, Safari, Mozilla Firefox and more. Tell me more

Your Xamaring app can then simply display a web browser from which you can play your game.

Browser Shell Apps

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屋!

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