大约有 39 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0036 秒)
LayaAir引擎 微信不加载version.json Laya.ResourceVersion.type = Laya.ResourceVersion.FILENAME_VERSION; Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this,this.beginLoad)); HI, 各位大大。我们在程序入口添加了上述资源版本控制,并release。 抓包发现...
来源: Laya_社区 发布时间: 20180403
...llMethod layaair/game/browser/ExportJavaFunction alerthttp://stand.alone.version/libs/laya.d3.js:37382: TypeError: Cannot read property 'width' of undefined 05-18 09:55:36.987: I/0(27649): minWidth=Math.min(minWidth,image.width); 05-18 09:55:36.987: I/0(27649): ...
来源: Laya_社区 发布时间: 20190518
...置版本控制类型为使用文件名映射的方式 ResourceVersion.type = ResourceVersion.FILENAME_VERSION; //加载版本信息文件 ResourceVersion.enable("version.json", Laya.Handler.create(this, LoadRes)); 这些档案变成这样 filename5d7eba...
来源: Laya_社区 发布时间: 20181127
最新的ResourceVersion发布以后加载的url不正确 一个工程在IDE下直接播放是可以运行的。 我使用最新的ResourceVersion,在资源后增加了Hash后缀,比如某个文件发布后: release\web\res\atlas\ui\sharedcp094faf36.png 加上了094faf36的后缀 然后...
来源: Laya_社区 发布时间: 20180115
...e", "true"); mPlugin.game_plugin_set_option("gameUrl", "http://stand.alone.version/ind ... 6quot;); 因为我觉得资源还是存在本地,只是位置变了,所以没有改成网络加载的方式 结果现在获取index.html的时候,无法在相对应的目录进行获取,导致访问不...
来源: Laya_社区 发布时间: 20180327
.../程序入口 Laya.init(600, 400); //激活资源版本控制 Laya.ResourceVersion.enable("version.json", Handler.create(null, beginLoad), Laya.ResourceVersion.FILENAME_VERSION); function beginLoad(){ Laya.loader.load("res/atlas/comp.atlas", Handler.create(null, onLoaded)); } fun...
来源: Laya_社区 发布时间: 20180327
...el = "full"; // DebugTool.init() //激活资源版本控制 Laya.ResourceVersion.enable("version.json", Handler.create(null, beginLoad), Laya.ResourceVersion.FILENAME_VERSION); function beginLoad() { Laya.loader.load("res/atlas/comp.atlas", Handler.create(null, onLoaded)); } function onLoaded(...
来源: Laya_社区 发布时间: 20180627
...S 3.0 context created 2019-06-18 13:34:08.498646+0800 test1[6479:65523] AppVersion=2.0 2019-06-18 13:34:08.500431+0800 test1[6479:65523] Reachability Flag Status: -R ------- networkStatusForFlags 2019-06-18 13:34:08.500574+0800 test1[6479:65523] >>>>>>>checkNetworkState 有网...
来源: Laya_社区 发布时间: 20190618
...ya.Stat.show(); Laya.alertGlobalError = true; //激活资源版本控制,version.json由IDE发布功能自动生成,如果没有也不影响后续流程 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); } onVersio...
来源: Laya_社区 发布时间: 20181027
...法,使用的是外部版本 在解压文件成功后调用如下: let version = 1 let versionHash = window.appcache.hashstr(version + ""); window.appcache.updateFile(fid,versionHash,buf,true) 成功解压了,并顺利运行,但是游戏重启后,便找不到上次解压的缓存了,...
来源: Laya_社区 发布时间: 20190321