Unityであるアセットを利用しているときにでたエラーの解消法をメモしておきます。
エラー内容
error CS0227: Unsafe code may only appear if compiling with /unsafe. Enable "Allow 'unsafe' code" in Player Settings to fix this error.
原因
ポインタをC#内で使っているとのこと。
解決方法
File > Build Settings > Player Settings > Player > Other Settings から
下の方に、「Allow 'unsafe' Code」という項目があるので、
チェックをつける。
これで解決します。
参考文献
以上となります。