标签:c#
void Awake() { if (Application.platform == RuntimePlatform.OSXPlayer || Application.platform == RuntimePlatform.WindowsWebPlayer) { { enabled=false; } }
unity 平台检测
原文地址:http://blog.csdn.net/haifeng619/article/details/44834489