void
DebugPlatformMesaage()
{
string
platform;
#if
UNITY_EDITOR
platform =
"hi,大家好,我是在unity编辑模式下"
;
#elif
UNITY_XBOX360
platform="hi,大家好,我在XBOX360平台";
#elif
UNITY_IPHONE
platform="hi,大家好,我是IPHONE平台";
#elif
UNITY_ANDROID
platform="hi,大家好,我是ANDROID平台";
#elif
UNITY_STANDALONE_OSX
platform="hi,大家好,我是OSX平台";
#elif
UNITY_STANDALONE_WIN
platform="hi,大家好,我是Windows平台";
#endif
Debug
.Log(
"Current Platform:"
+ platform);
}