Version: 2022.2
언어: 한국어
macOS 개발
macOS에 IL2CPP 사용

Deep linking with macOS

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

Enable deep linking for macOS applications

Before you can process deep links, you need to configure your application to react to them. This section has instructions on how set up deep links for macOS.

macOS 애플리케이션용 딥 링크를 활성화하는 방법에는 URL 체계와 유니버설 링크의 두 가지가 있습니다.

URL 체계

URL 체계는 iOS 애플리케이션이 반응하는 링크 구조를 지정합니다. 기기가 이 구조와 일치하는 딥 링크를 처리하면 기기가 애플리케이션을 엽니다. URL 체계를 추가하려면 다음 단계를 따르십시오.

  1. Open the Player Settings window from Edit > Project Settings > Player Settings.
  2. Select Windows, Mac, Linux settings.
  3. Select Other Settings, then scroll down to Mac Configuration.
  4. Expand the Supported URL schemes section and, in the Element 0 field, enter the URL scheme to associate with your application. For example, unitydl.

기기가 unitydl://로 시작하는 링크를 처리할 때 macOS 애플리케이션이 열립니다.

유니버설 링크

유니버설 링크를 활성화하는 방법에 대한 정보는 앱과 웹사이트가 사용자의 콘텐츠에 연결되도록 허용에 대한 Apple 문서를 참조하십시오.

Use deep linking on macOS

After you enable deep links for macOS, 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.

macOS 개발
macOS에 IL2CPP 사용