UnitySlippyMap icon indicating copy to clipboard operation
UnitySlippyMap copied to clipboard

isWebPlayer has been removed

Open shaneTF opened this issue 7 years ago • 1 comments

Application.isWebPlayer was removed from unity api and breaks application. Is there a fix?

shaneTF avatar Mar 31 '18 20:03 shaneTF

Go to file "UnityThreadHelper.cs", then find the next code

isWebPlayer = Application.isWebPlayer;

replace with

if (Application.platform == RuntimePlatform.WebGLPlayer)
           isWebPlayer = true;
       else
           isWebPlayer = false;

that's all

patracio avatar Apr 23 '18 23:04 patracio