unity 报错 Unsafe code may only appear if compiling with /unsafe. Enable “Allow ‘unsafe‘ code“ in Pla

这是因为 代码内使用了Unsafe关键字,
勾选允许不安全代码 就解决了
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/o_ojjj/article/details/126118530
今日推荐