딥 링크는 사용자를 애플리케이션의 위치로 안내하는 애플리케이션 외부의 URL 링크입니다. 사용자가 애플리케이션에 대한 딥 링크를 클릭하면 운영체제는 지정된 위치(예: 특정 씬)에서 Unity 애플리케이션을 엽니다. 딥 링크와 그 사용 방법에 대한 자세한 내용은 딥링크를 참조하십시오.
딥 링크를 처리하기 전에 애플리케이션이 딥 링크에 반응하도록 설정해야 합니다. 이 섹션에는 Android용 딥 링크를 설정하는 방법에 대한 명령이 포함되어 있습니다.
Android 애플리케이션용 딥 링크를 활성화하려면 인텐트 필터를 사용합니다. 인텐트 필터는 활동에 대해 특정 인텐트 필터 섹션을 포함하도록 표준 Android 앱 매니페스트를 오버라이드합니다. 인텐트 필터를 설정하려면 다음 단계를 따르십시오.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
<application>
<activity android:name="com.unity3d.player.UnityPlayerActivity" android:theme="@style/UnityThemeSelector" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="unitydl" android:host="mylink" />
</intent-filter>
</activity>
</application>
</manifest>
기기가 unitydl://
로 시작하는 링크를 처리할 때 Android 애플리케이션이 열립니다.
Android용 딥 링크를 활성화한 후에는 플랫폼에 구애받지 않고 사용할 수 있습니다. 애플리케이션이 열릴 때 딥 링크를 처리하는 방법에 대한 자세한 내용은 딥 링크 사용을 참조하십시오.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.