Unity3d Multi-platform _ precompiled related macro definition

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.