Version: 2022.1
언어: 한국어
XR 공급자 플러그인 선택
XR 씬 설정

XR 프로젝트 생성

XR 프로젝트를 생성하기 위해 Unity Hub의 XR 템플릿을 사용하거나 XR이 아닌 프로젝트로 시작할 수 있습니다.

선행 조건

XR 프로젝트를 생성하려면 먼저 다음 작업을 수행해야 합니다.

  • Unity 에디터 설치.
  • Add Editor modules to support the platform build targets on which the XR devices that you want to support run. For example, to support Android devices with ARCore or Oculus Quest devices, you must add the Android module to your Editor using the Unity Hub.

참고:일부 XR 기기 제조업체는 플랫폼용 애플리케이션을 생성하기 위해 개발자 계정 로그인과 같은 추가 요구 사항을 강제할 수 있습니다.이러한 요구 사항은 Unity 문서의 범위에 포함되지 않습니다.

새 XR 프로젝트 생성

Unity Hub에서 AR 또는 VR 템플릿으로 새 XR 프로젝트를 생성할 수 있는 가장 빠른 방법입니다.이러한 템플릿 중 하나로 생성한 프로젝트에는 이미 XR 플러그인 관리 시스템, 공통 XR 플러그인 및 지원 패키지, 기본 XR 컴포넌트로 설정된 시작 씬이 설정되어 있습니다.

  1. Unity Hub를 엽니다.
  2. Hub에서 New Project 버튼을 클릭합니다.
  3. To start from a template, select the VR Core or AR Core template. If necessary, click Download template.
  4. Choose a project name and save location.
  5. Click Create project.
  6. After the project opens in the Editor, configure the project’s XR plug-ins with the XR Plug-in Management system.
  7. Add additional XR packages such as the XR Interaction Toolkit using the Package Manager.
  8. Set up an XR scene.

Tip: After you create an XR project, go to the XR Plug-in Management page in your Project Settings and enable the plug-ins for the platforms you want to support. If you don’t see a platform tab on the XR Plug-in Management page, add the platform module to your Editor installation using the Unity Hub.

XR이 아닌 프로젝트에서 시작

다음과 같이 XR이 아닌 기존 프로젝트를 항상 전환할 수 있습니다.

  1. Unity Hub를 사용하여 프로젝트를 엽니다.
  2. In the Editor configure the project’s XR plug-ins with the XR Plug-in Management system.
  3. Add additional XR packages such as AR Foundation and the XR Interaction Toolkit using the Package Manager.
  4. XR 씬을 설정합니다.

예시 에셋 제거

XR 템플릿 중 하나를 사용하여 프로젝트를 생성하지만 포함된 예시 에셋을 사용하지 않으려는 경우, 예시 에셋을 제거할 수 있습니다.

  1. 프로젝트(Project) 창에서 Assets 폴더를 엽니다.
  2. ExampleAssets 폴더를 마우스 오른쪽 버튼으로 클릭합니다.
  3. Delete를 선택합니다.
  4. 표시되는 팝업에서 Delete를 클릭합니다.

Note: The sample scenes in the templates use assets in the ExampleAssets folder. If you remove the folder, you should also remove: * AR Session Origin 게임 오브젝트(AR 템플릿)의 AnchorCreator 스크립트 * XRControllerLeft 게임 오브젝트(VR 템플릿) * XRControllerRight 게임 오브젝트(VR 템플릿) * Plane 게임 오브젝트(VR 템플릿)

XR 공급자 플러그인 선택
XR 씬 설정