RuntimePlatform.WindowsWebPlayer 或者 RuntimePlatform.OSXWebPlayer 弃用的,已过时解决方法



问题:RuntimePlatform.WindowsWebPlayer 或者 RuntimePlatform.OSXWebPlayer 弃用的,已过时解决方法

在Unity2017 和Unity2018 中已过时,

解决方法:

return Application.platform != RuntimePlatform.WindowsPlayer && Application.platform != RuntimePlatform.OSXPlayer;

 

posted @ 2023-02-06 20:22  Domefy  阅读(176)  评论(0)    收藏  举报