解决方法: 1、选中图片:Inspector窗口下第一个选项,Texture Type 改成 Advanced; 2、选中Read/Write Enabled。 3、选中下方Override for Standalone,Format这图片ARGB 32bit 4、点击Apply。 5、运行代码,应该没问题了。
本文分享自 作者个人站点/博客 前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文参与 腾讯云自媒体同步曝光计划 ,欢迎热爱写作的你一起参与!