The Unity platform relies on compilation

Source: Internet
Author: User

Location: Unity Document-manual-scripting-platform Dependent compilation

Property
: Function:
Unity_editor #define directive for calling Unity Editor scripts from your game code.
Unity_editor_win #define directive for Editor code on Windows.
Unity_editor_osx #define directive for Editor code on MAC OS X.
Unity_standalone_osx #define Directive for compiling/executing code specifically for MAC OS X (including Universal, PPC and Intel architectures ).
Unity_standalone_win #define Directive for compiling/executing code specifically for Windows standalone applications.
Unity_standalone_linux #define Directive for compiling/executing code specifically for Linux standalone applications.
Unity_standalone #define directive for compiling/executing code for any standalone platform (Mac OS X, Windows or Linux).
Unity_wii #define directive for compiling/executing code for the WII console.
Unity_ios #define directive for compiling/executing code for the IOS platform.
Unity_iphone Deprecated. Use Unity_ios instead.
Unity_android #define directive for the Android platform.
Unity_ps4 #define directive for running PlayStation 4 code.
Unity_samsungtv #define directive for executing Samsung TV code.
Unity_xboxone #define directive for executing Xbox One code.
Unity_tizen #define directive for the Tizen platform.
Unity_tvos #define directive for the Apple TV platform.
Unity_wp_8_1 #define directive for Windows Phone 8.1.
Unity_wsa #define directive for Windows Store Apps. Additionally, Netfx_core is defined when compiling C # files against. NET CORE.
Unity_wsa_8_1 #define directive for Windows Store Apps when targeting SDK 8.1.
Unity_wsa_10_0 #define directive for Windows Store apps when targeting Universal windows apps. Additionally WINDOWS_UWP and Netfx_core is defined when compiling C # files against. NET CORE.
Unity_winrt Same as UNITY_WSA.
Unity_winrt_8_1 Equivalent to Unity_wp_8_1 | Unity_wsa_8_1. This was also defined when compiling against Universal SDK 8.1.
Unity_winrt_10_0 Equivalent to Unity_wsa_10_0
Unity_webgl #define directive for WebGL.
Unity_ads #define directive for calling Unity Ads methods from your game code. Version 5.2 and above.
Unity_analytics #define directive for calling Unity Analytics methods from your game code. Version 5.2 and above.
Unity_assertions #define Directive for assertions control process.

The Unity platform relies on compilation

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.