버전
menu_open

Build the application for a multi-architecture platform

Separate plug-in libraries are provided for platforms with multiple architectures. They are named by suffixing the base name with the architectures. Why would we need to do this? Unity defines designated architecture sub-folders for a few multi-architecture platforms such as Windows and Windows Store so that the plug-in binary files can be isolated while sharing the same file name. But no similar sub-folders are provided to the other similar platforms such as Vita. Therefore, these multi-architecture plug-in libraries need to co-exist in the same Designated Platform Plugin Folder, and be loaded at runtime correctly. They thus need to be named differently and the plug-in loader Unity script in the Integration needs to know their names at compile time.

Although having platform preprocessor switches, Unity has no similar compile-time mechanisms for distinguishing architectures. To minimize user effort, however, the Integration provides predefined custom compiler preprocessors for switching between plug-in libraries for different architectures.

To use the correct plug-in version for your build target, you can use the Unity 4's custom compiler preprocessor switch feature, also known as Scripting Define Symbols. The predefined custom preprocessors are listed in the following table:

Platform, Architecture

Custom Preprocessor

Default Architecture

Vita, SW

AK_ARCH_VITA_SW

Default

Vita, HW

AK_ARCH_VITA_HW

NO

To build for a specific architecture, enter the corresponding preprocessor into Build Settings > Player Settings... > Other Settings > Scripting Define Symbols, and then press Enter.

Note.gif
Note: There is no need to specify a preprocessor if you build for the default architecture of that platform.
Generated on Tue Aug 23 02:44:59 2016 for Wwise Unity Integration by  doxygen 1.6.3

이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요