【问题标题】:How do I add my privacy policy link to the Windows Settings charm with Unity?如何使用 Unity 将我的隐私政策链接添加到 Windows 设置超级按钮?
【发布时间】:2014-01-13 18:09:41
【问题描述】:

Windows 应用商店规则 4.1.1 规定:

您必须在“说明”页面中提供对您的隐私政策的访问权限 您的应用程序以及应用程序设置中显示的 Windows 设置魅力。

描述页面很简单,因为当您在商店中设置应用时,您可以在其中输入 URL。

但是,对于如何在 Unity 项目的 Windows 设置魅力中添加此条目,我有点不知所措。我找到了this 的答案,但这假设您完全控制并了解您的 Windows 应用商店应用程序,而我只是从 Unity 导出,所以我不知道该把代码放在哪里。

那么,我该怎么做呢?

【问题讨论】:

    标签: windows-8 unity3d windows-store


    【解决方案1】:

    Unity 正在将游戏导出为 JS 或 C#。

    看看这些样本http://code.msdn.microsoft.com/windowsapps/Windows-8-Modern-Style-App-Samples。在这些示例中,您可以在应用程序中使用一些设置魅力屏幕。

    但请记住,您应该在导出游戏后添加设置魅力。

    【讨论】:

      【解决方案2】:

      插件prime31/MetroEssentials 具有registerSettingsCommand 功能,它可以让你做到这一点。

      // Registers a settings item with an associated message that will be displaed in a popup when clicked
      public static void registerSettingsCommand( string title, string message )
      
      // Registers a settings item with an action. When the settings item is clicked the action will be called.
      public static void registerSettingsCommand( string title, Action onActivated )
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2015-10-03
        • 2020-05-24
        • 2016-11-10
        • 1970-01-01
        • 1970-01-01
        • 2010-12-18
        • 2019-07-03
        • 2011-11-24
        相关资源
        最近更新 更多