【问题标题】:Is it possible to change an iOS and Android app's icon built in Unity是否可以更改 Unity 中内置的 iOS 和 Android 应用程序的图标
【发布时间】:2019-03-07 02:19:20
【问题描述】:

我已经阅读了 it is now possible to change an app's icon from Swift code 用于本地构建的 iOS 应用程序。我认为 it's always been possible in Android 也适用于原生应用程序。所以我想知道Unity是否有办法做到这一点?即使它有点 hacky / janky 也很乐意尝试,只要它会被 Apple 接受用于 App Store 提交。

【问题讨论】:

    标签: android ios unity3d


    【解决方案1】:

    如果你想在构建前设置图标,可以查看PlayerSettings.SetIconsForTargetGroup

    但如果你想在运行时更改应用图标,我想你可以从 Unity 调用原生 iOS/android 方法。

    iOS:Building Plugins for iOS

    机器人:Unity: Call android function from Unity

    【讨论】:

      【解决方案2】:

      您可以根据平台分别从播放器设置中更改它。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2018-04-24
        • 1970-01-01
        • 2013-03-22
        • 2021-09-07
        • 2023-03-17
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多