在导入包含线程的脚本时Unity报错:
Enable “Allow ‘unsafe’ code” in Player Settings to fix this error.
解决方法:
选择Building Setting-Player Setting
Player-Configuration-将Allow ‘unsafe’ Code勾选上
Enable "Allow 'unsafe' code" in Player Settings to fix this error.
最新推荐文章于 2024-04-03 13:56:52 发布