我想以某种方式实现类似于移动游戏中心或内容播放器的东西。假设我有一个生成的链接,当我在手机/平板电脑上按它时,它会将我带到这个应用程序,而该应用程序又会从网络下载新内容并加载为新场景。现阶段不考虑注册/登录甚至支付等安全方面的问题,是否可以使用Unity来实现这种移动应用程序?基本上,这是一个欢迎场景,将显示基于给定 Web 链接的新场景内容的下载/加载。
I would like to implement something that would resemble a mobile game hub or a content player somehow. Let's assume I have a generated link and when I press it on phone/tablet it will take me to this app which in turn it will download the new contents from the web and loaded as a new scene. Without concerning ourselves with security aspects like registration/login or even payment at this stage, is it possible to achieve this kind of mobile app with Unity? Basically it's a welcome scene that would show the downloading/loading for the new scene contents based on a given web link.
发布评论
评论(1)
是的,您可以通过 AssetBundles 或(较新的选项)可寻址。两者都允许您在构建应用程序后部署任何内容(不包括脚本代码)。流行的用例:
请注意用于构建 AssetBundle 或 Addressable 的 Unity 版本必须与您用于主应用程序的版本完全匹配。任何不匹配都会引发难以诊断的问题和奇怪的调试日志。
Yes, you can achieve the result via AssetBundles or (newer option) Addressables. Both allows you to deploy any content (excluding script codes) after your app has been built. Popular use cases:
Take a note that Unity version used to build AssetBundle or Addressable must match EXACTLY the version you used for main application. Any mismatch will trigger hard to diagnose problems and strange debug logs.