Version: 2022.1
Developing for Universal Windows Platform
通用 Windows 平台:性能分析器

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
  2. 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.

Developing for Universal Windows Platform
通用 Windows 平台:性能分析器