Texture ‘XXX' is not readable, the memory can not be accessed form scripts, You can make the texture

来源:互联网 发布:网易网络fps游戏排行榜 编辑:程序博客网 时间:2024/06/09 18:50
解决方法:
1、选中图片:Inspector窗口下第一个选项,Texture Type 改成 Advanced;
2、选中Read/Write Enabled。
3、选中下方Override for Standalone,Format这图片ARGB 32bit
4、点击Apply。

5、运行代码,应该没问题了。



来自网上查找!

0 0
原创粉丝点击