Version: 5.6
Windows Store: IL2CPP scripting back end
Windows Store: Plugins on IL2CPP Scripting Backend

Windows Store: Generated project with IL2CPP scripting backend

Building a project from Unity to Windows Store platform with IL2CPP scripting backend will create a Visual Studio C++ solution containing three projects:

그림 1. 생성된 Visual Studio 솔루션
그림 1. 생성된 Visual Studio 솔루션

프로젝트는 각각 다른 용도로 사용됩니다.

  1. Il2CppOutputProject는 관리 어셈블리에서 변환된 생성된 C++ 코드를 포함합니다. 프로젝트가 새로 빌드될 때마다 이전 프로젝트를 덮어씁니다. 그림 2를 참조하십시오.
  2. Unity Data 프로젝트는 레벨 및 에셋 등 모든 Unity 데이터 파일을 포함합니다. 이 프로젝트도 이전 프로젝트를 매번 덮어씁니다.
  3. Unity 프로젝트와 이름이 같은 메인 프로젝트입니다. 이 프로젝트가 기기에 배포되거나 Windows 스토어에 업로드되는 애플리케이션 패키지에 내장됩니다. Unity는 이 프로젝트 위에 빌드할 때 프로젝트를 덮어쓰지 않으므로 변경 사항을 잃을 위험 없이 프로젝트를 자유롭게 수정할 수 있습니다.
그림 2. Il2CppOutputProject
그림 2. Il2CppOutputProject

.NET 스크립팅 백엔드를 사용하는 경우 생성된 프로젝트는 C#를 사용하지만, 이 시나리오는 IL2CPP 스크립팅 백엔드 사용 시 지원되지 않습니다.

환경 설정(Configurations)

생성된 Visual Studio 프로젝트에는 세 가지 설정인 Debug, ReleaseMaster가 있습니다.

  • Debug 설정은 모든 최적화를 비활성화하고, 모든 디버깅 정보를 보존하며 실행 속도가 훨씬 더 느립니다. 게임을 디버깅하는 데 사용합니다.
  • Release 설정은 코드 최적화를 대부분 활성화하지만 프로파일러를 활성화 상태로 놔둡니다. 이 설정은 게임 프로파일링에 사용합니다.
  • Master configuration disables the profiler, and is used for game submission/final testing. The build time of Master configuration is much longer, however, it is a little bit faster than Release configuration.
Windows Store: IL2CPP scripting back end
Windows Store: Plugins on IL2CPP Scripting Backend