unity 5.4 以降のApplication.isWebPlayer

Application.isWebPlayer
だとエラー

Application.platform == RuntimePlatform.WebGLPlayer

ならコンパイルされる