在导入包含线程的脚本时Unity报错:
Enable “Allow ‘unsafe’ code” in Player Settings to fix this error.
解决方法:
选择Building Setting-Player SettingEnable "Allow 'unsafe' code" in Player Settings to fix this error.
Player-Configuration-将Allow ‘unsafe’ Code勾选上Enable "Allow 'unsafe' code" in Player Settings to fix this error.

相关文章: