在Unity2017 和Unity2018 中已过时,解决方法:
return Application.platform != RuntimePlatform.WindowsPlayer && Application.platform != RuntimePlatform.OSXPlayer;
在Unity2017 和Unity2018 中已过时,解决方法:
return Application.platform != RuntimePlatform.WindowsPlayer && Application.platform != RuntimePlatform.OSXPlayer;