caching.isversioncached 是否缓存的版本

2015-1-3 23:57| 发布者: 杨炎| 查看: 4484| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: caching.isversioncached 是否缓存的版本static functionisversioncached(url: string,version: int) : booldescription描述checks if an assetbundle is cached.检查,如果一个资源包被缓存。returns true if an as ...

caching.isversioncached 是否缓存的版本

static functionisversioncached(url: string,version: int) : bool

description描述

checks if an assetbundle is cached.

检查,如果一个资源包被缓存。

returns true if an assetbundle with the url and version has previously been loaded usingwww.loadfromcacheordownload() and is currently residing in the cache, and false otherwise.

如果一个带有url和使用www.loadfromcacheordownload()被加载之前版本的资源包,并且当前存在缓存中,返回true。

if (caching.isversioncached("http://myserver.com/bla.yzc88亚洲城", 3))

guilayout.button("load level");

相关阅读

文章点评
相关文章