Unity网络正常状态下优先加载网络图片,不然加载本地缓存图片

   程序运行后,将获取网络上下载的照片,缓存更新至本地,再次开启无网状态下或网络图片传输异常状况下,程序将读取本地缓存图片。 缓存     使用方法以下:网络 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class test
相关文章
相关标签/搜索