Version: 2022.1
言語: 日本語
Developing for Universal Windows Platform
UWP Profiler

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, see Deep links.

UWP アプリケーションのディープリンクの有効化

ディープリンクを処理する前に、カスタム URI スキームの追加によって、ディープリンクに反応するようにアプリケーションを設定する必要があります。

カスタム URI スキームの追加は、以下の手順で行えます。

  1. Edit > Project Settings > Player Settings を開きます。
  2. UWP を選択して UWP の Player 設定 を開きます。
  3. Publishing Settings > Protocol と選択します。
  4. Name フィールドに、アプリケーションに関連付ける URI (例: unitydl) を入力します。

これで、unitydl:// で始まるリンクをデバイスが処理するたびに、UWP アプリケーションが開かれるようになりました。

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

Developing for Universal Windows Platform
UWP Profiler