Caching 缓存
The Caching class lets you manage cached AssetBundles, downloaded using WWW.LoadFromCacheOrDownload.
Caching类让你管理资源包缓存,下载使用WWW.LoadFromCacheOrDownload。
Class Variables类变量
- spaceFreeAvailable disk space in bytes.
可用的磁盘空间,以bytes(字节)为单位。 - spaceOccupiedUsed disk space in bytes.
已经使用的磁盘空间,以bytes(字节)为单位。 - maximumAvailableDiskSpaceThe total number of bytes that can potentially be allocated for caching.
可能会被用于缓存,分配的字节总数。 - expirationDelay截止延迟
- enabledIs caching enabled?
缓存是否启用? - ready准备
Class Functions类函数
- AuthorizeAuthorize this unity content to use caching.
授权这个Unity内容使用缓存。 - CleanCacheDelete the cache folder associated with this content.
删除这个内容相关的缓存文件夹。 - IsVersionCachedChecks if an AssetBundle is cached.
检查,如果一个资源包被缓存。 - MarkAsUsedBumps the timestamp of a cached file to be the current time.
标记一个缓存文件到当前的时间。