首页 > 系统相关 >RuntimePlatform.WindowsWebPlayer 或者 RuntimePlatform.OSXWebPlayer 弃用的,已过时解决方法

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

时间:2023-02-06 20:34:28浏览次数:57  
标签:过时 RuntimePlatform 弃用 platform OSXWebPlayer WindowsWebPlayer



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

在Unity2017 和Unity2018 中已过时,

解决方法:

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

 

标签:过时,RuntimePlatform,弃用,platform,OSXWebPlayer,WindowsWebPlayer
From: https://www.cnblogs.com/domefy/p/17096614.html

相关文章