问题:`System.IO.File' does not contain a definition for `ReadAllBytes'
解决:
这是由于unity的build settings默认指定web player平台,而非standalone build。
file->build settings->选中相应的平台->switch platform即可。
参考资料:
兰叶凛香原创博文:http://www.cnblogs.com/xiaobalang/
浙公网安备 33010602011771号