gpt4 book ai didi

c# - 你能把 Unity 3d 游戏放在 Xamarin 跨平台应用程序中吗

转载 作者:太空狗 更新时间:2023-10-29 20:23:35 26 4
gpt4 key购买 nike

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

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

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

这可能吗?

最佳答案

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

视情况而定。

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

原始应用:

The original app

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

The embedded Unity3D game

网页游戏

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

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

然后,您的 Xamaring 应用程序可以简单地显示一个网络浏览器,您可以从中玩游戏。

enter image description here

浏览器外壳应用

我看到您的 “Merricks Jewelry” 应用程序已经在 iOS 商店中。请注意,如果您追求网络游戏方法,我知道苹果曾一度对本质上是基于网络内容的外壳的原生应用程序严格。您可能需要咨询 Apple。可能仍然如此,也可能不是。

关于c# - 你能把 Unity 3d 游戏放在 Xamarin 跨平台应用程序中吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33042514/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com