Unity预编译指令

平台定义:

Unity对您的脚本支持的平台定义有:

你也可以为了区分Unity引擎的不同版本有选择的编译代码.

目前支持的是:

UNITY_2_6

Unity 2.6的平台定义.

UNITY_2_6_1

Unity 2.6.1的平台定义.

UNITY_3_0

Unity 3.0的平台定义.

UNITY_3_0_0

Unity 3.0.0的平台定义.

UNITY_3_1

Unity 3.1的平台定义..

UNITY_3_2

Unity 3.2的平台定义.

UNITY_3_3

Unity 3.3的平台定义.

UNITY_3_4

Unity 3.4的平台定义.

UNITY_3_5

Unity 3.5的平台定义.

UNITY_4_0

Unity 4.0的平台定义.

UNITY_4_0_1

Unity 4.0.1的平台定义.

UNITY_4_1

Unity 4.1的平台定义.

原文地址:https://www.cnblogs.com/Belong/p/4201462.html