Texture ‘XXX‘ is not readable, the memory can not be accessed form scripts, You can make the texture
解决方法:
1、选中图片:Inspector窗口下第一个选项,Texture Type 改成 Advanced;
2、选中Read/Write Enabled。
3、选中下方Override for Standalone,Format这图片ARGB 32bit
4、点击Apply。
5、运行代码,应该没问题了。
还没有评论,来说两句吧...