[AppleScript]
纯文本查看 复制代码
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
using
UnityEngine;
using
System.Collections;
public
class
PlatformDefines
:
MonoBehaviour
{
void Start
(
)
{
#if UNITY_EDITOR
Debug.Log
(
"Unity Editor"
)
;
#endif
#if UNITY_IPHONE
Debug.Log
(
"Iphone"
)
;
#endif
#if UNITY_STANDALONE_OSX
Debug.Log
(
"Stand Alone OSX"
)
;
#endif
#if UNITY_STANDALONE_WIN
Debug.Log
(
"Stand Alone Windows"
)
;
#endif
}
}
|