大约有 418 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0041 秒)
... reader.onload = function(e){ instance.buffer.push(reader.result); 只要执行到readAsArrayBuffer就崩溃了,但是在浏览器里是正常的 附件 : --> 2018-04-10 添加评论 免...
来源: Laya_社区 发布时间: 20180410
...t/javascript" src="laya.webgl.js"></script> <script> window.onload = function (){ document.documentElement.style.overflow='hidden'; Laya.init(1280,720,Laya.WebGL); Laya.stage.alignH = "center"; Laya.stage.alignV = "middle"; Laya.stage.scaleMode = "showall"; Laya.stage.screenMode ...
来源: Laya_社区 发布时间: 20180709
...ore.js:1039) at Loader.complete (laya.core.js:18862) at Loader.onLoaded (laya.core.js:18818) at EventHandler.runWith (laya.core.js:998) at HttpRequest.event (laya.core.js:1039) 报错信息如上。 导出了很多粒子特效都没问题, 就这个有问题,求人间...
来源: Laya_社区 发布时间: 20201029
... @ gamePage.html:1 window.onerror @ VM125:1 scriptLoaded @ VM177:21 script.onload @ VM177:33 2019-03-08 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 180*****740 相关问题 2.0一不小心删了bin目录下的某个场景json文件。...
来源: Laya_社区 发布时间: 20180702
...s"}, {url:"res/atlas/f5.atlas"}], Laya.Handler.create(this, onLoaded), Laya.Handler.create(this, function(e){ console.log(e) }), Laya.Loader.ATLAS); 这样写了以后,e输出还是只有0.049999999999999996 Laya_Aaron • 2018-01-02 18:54 按照文档来的话不会有问题的
来源: Laya_社区 发布时间: 20180101
...相关的链接 提交 1 个回复 魏飞黄 赞同来自: 这个问题是onload在对象被销毁后仍然在监听纹理的加载成功事件,加载成功后,访问被销毁的对象导致报错,对象在被销毁时没有清理干净事件导致的,目前我是这么改的: 在laya.html.js内938...
来源: Laya_社区 发布时间: 20180808
...; var imageSource=new Laya.Browser.window.Image(); var thisObj = this; var onload=function (){ var tex=new Laya.Texture2D(imageSource.width,imageSource.height,1,false,true); tex.wrapModeU=1; tex.wrapModeV=1; tex.loadImageSource(imageSource,true); tex._setCreateURL(url); var tex2=new Laya.Texture(tex...
来源: Laya_社区 发布时间: 20190923
...ram/trunk/ClientLaya2.0/CarCrash/bin/libs/laya.core.js:19128:21) at Loader.onLoaded (file:///E:/CarCrash/Program/trunk/ClientLaya2.0/CarCrash/bin/libs/laya.core.js:19097:21) at EventHandler.runWith (file:///E:/CarCrash/Program/trunk/ClientLaya2.0/CarCrash/bin/libs/laya.core.js:848:38) 调用Laya....
来源: Laya_社区 发布时间: 20190904
...示例 Laya.loader.load("./res/test/c1.atlas", Laya.Handler.create(this, onLoaded)); ``` `.json`是一种兼容第三方的图集配置方式,由于`.json`文件应用广泛,不仅仅用于图集,所以为了识别是否为图集配置信息,在加载`.json`文件的图集时,需要...
来源: Laya2.0_文档 发布时间: 20210715
... Laya.loader.load("./res/atlas/test.atlas", Laya.Handler.create(this, this.onLoaded)); ``` `.json`是一种兼容第三方的图集配置方式,由于`.json`文件应用广泛,不仅仅用于图集,所以为了识别是否为图集配置信息,在加载`.json`文件的图集时,需要填...
来源: Laya2.0_文档 发布时间: 20210714