Pre -
compiling
Original address: http://docs.unity3d.com/Documentation/Manual/PlatformDependentCompilation.html
Platform
definition
|
|
Unity_editor |
Editor calls. |
Unity_standalone_osx |
Specifically for the definition of Mac OS (including UNIVERSAL,PPC and intelarchitectures) platforms . |
Unity_dashboard_widget |
Mac OS Dashboard widget (Mac OS Dashboard widget). |
Unity_standalone_win |
Windows. |
Unity_standalone_linux |
A standalone application for Linux. |
Unity_standalone |
Standalone platform (Mac,windows or Linux). |
Unity_webplayer |
Web player (including Windows and Mac Web Player executables). |
Unity_wii |
Wii game console platform . |
Unity_iphone |
IPhone platform . |
Unity_android |
Android platform . |
Unity_ps3 |
PlayStation 3. |
unity_xbox360 |
Xbox 360. |
Unity_nacl |
Google Native Client (use this must additionally use Unity_webplayer). |
Unity_flash |
Adobe Flash. |
You can also judge the Unity version, the currently supported version
Unity_2_6 |
Platform defined as the major version of Unity 2.6. |
Unity_2_6_1 |
Platform defines major version 2.6 for a specific version 1. |
Unity_3_0 |
Platform defined as the major version of Unity 3.0. |
Unity_3_0_0 |
Platform defines a specific version of Unity 3.0 0. |
Unity_3_1 |
Platform defined as the major version of Unity 3.1. |
Unity_3_2 |
Platform defined as the major version of Unity 3.2. |
Unity_3_3 |
Platform defined as the major version of Unity 3.3. |
Unity_3_4 |
Platform defined as the major version of Unity 3.4. |
Unity_3_5 |
Platform defined as the major version of Unity 3.5. |
Unity_4_0 |
Platform defined as the major version of Unity 4.0. |
Unity_4_0_1 |
Major Version 4.0.1 a unified platform definition . |
Unity_4_1 |
Platform defined as the major version of Unity 4.1. |
Unity3d Multi-platform _ precompiled related macro definition