딥 링크는 웹사이트가 아닌 애플리케이션 내 특정 위치로 사용자를 연결하는 애플리케이션 외부의 하이퍼링크입니다. 사용자가 딥 링크를 클릭하면 Unity 애플리케이션 내 특정 씬과 같이 애플리케이션의 지정된 위치가 열립니다. 딥 링크와 사용 방법에 대한 자세한 내용은 딥 링크를 참조하십시오.
Android 애플리케이션용 딥 링크를 활성화하려면 인텐트 필터를 사용합니다. 인텐트 필터는 활동에 대해 특정 인텐트 필터 섹션을 포함하도록 표준 Android 앱 매니페스트를 오버라이드합니다.
인텐트 필터를 설정하려면 다음 단계를 따르십시오.
AndroidManifest.xml
이라는 새 파일이 Assets/Plugins/Android
에 생성됩니다.AndroidManifest.xml
파일을 엽니다.<activity>
요소에 추가하고 파일을 저장합니다.<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>
빌드된 애플리케이션은 이제 기기가 unitydl://
로 시작하는 모든 링크를 처리할 때 열립니다.
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.