Version: 2021.3
通用 Windows 平台 Player 设置
通用 Windows 平台:IL2CPP 脚本后端

Deep linking on Universal Windows Platform

Deep links are URL links outside of your application that direct users to a location in your application. When the user clicks a deep link for an application, the operating system opens the Unity application at a specified place (for example, a specific scene). For more information about deep links and how to use them, see Deep links.

Enabling deep linking for Universal Windows Platform applications

Before you can process deep links, you need to configure your application to react to them. This section contains instructions on how set up deep links for Universal Windows Platform.

To enable deep linking for a Universal Windows Platform (UWP) application, add a custom URI scheme. To do this:

  1. Open the UWP Player Settings window (menu: Edit > Project Settings > Player Settings, then select UWP).
  2. 选择 Publishing Settings,然后向下滚动到 Protocol
  3. In the Name field, enter the URI to associate with your application. For example, unitydl.

Your UWP application now opens when the device processes any link that starts with unitydl://.

Using deep linking on Universal Windows Platform

After you enable deep links for Universal Windows Platform, the way that you use them is platform-agnostic. For information on how to handle deep links when your application opens, see Using deep links.

通用 Windows 平台 Player 设置
通用 Windows 平台:IL2CPP 脚本后端
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961