Version: 2022.2
言語: 日本語
Develop for Universal Windows Platform
Connect the profiler to UWP

Use deep linking on UWP

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). You can enable deep linking for Universal Windows Platform (UWP) applications. For more information about deep links and how to use them, refer to Deep links.

Enable deep linking for UWP applications

Before you can process deep links, you need to configure your application to react to them by adding a custom URI scheme.

To add a custom URI scheme, perform the following steps:

  1. Go to Edit > Project Settings > Player Settings.
  2. Select UWP to open the UWP Player Settings window.
  3. Select Publishing Settings > Protocol.
  4. 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://.

Use deep linking on UWP

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, refer to Using deep links.

Develop for Universal Windows Platform
Connect the profiler to UWP
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961