大约有 1,292 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0058 秒)
Laya_社区(1020) Laya2.0_文档(79) Laya3.0_文档(55) Laya_示例(51) Laya3.0_api(44) Laya2.0_示例(39) laya_api(2) Laya2.0_api(2)
...览器编译出来的“不受支持的命令行”弹窗 请问laya.net.Loader和laya.net.LoaderManager哪些函数支持网络资源加载,加载什么类型?哪些只支持本地资源加载 请问Loader.load支持支持swf格式的预加载吗? 请问Laya支持什么样的swf,我运行...
来源: Laya_社区 发布时间: 20180217
...72:13) at http://127.0.0.1:53462/game/code.js:97630:17 at Laya.loader.load.Handler.create (http://127.0.0.1:53462/game/code.js:102231:13) at Handler.__proto.runWith (http://127.0.0.1:53462/game/code.js:711:59) 查看了应该是微信自带的浏览器内核不支持Function.app...
来源: Laya_社区 发布时间: 20180302
...加载成功,但是加载外部图片就不行,没有任何反应 Laya.loader.load(["https://xxdzz.shoujiyeyou.net/ ... ot%3B, "https://xxdzz.shoujiyeyou.net/ ... ot%3B], Handler.create(this, this.onLoaded), null, "json"); Laya.loader.load(["https://xxdzz.shoujiyeyou.net/mmphp/19.png"], Handl...
来源: Laya_社区 发布时间: 20191024
...图片加密数据是在图片的前面写入了四个字节的数据 Laya.loader.fetch("resources/res/test.bin","arraybuffer").then((res)=>{ //获得res的ArrayBuffer数据 let arraybuffer: ArrayBuffer = res; //Byte数组接收arraybuffer let byte:Byte = new Byte(arraybuffer); //从第四个字...
来源: Laya3.0_文档 发布时间: 20230303
...32628"; const monkey1Path = "https://layaair2.ldc2.layabox. ... 3B%3B Laya.loader.load(monkey1Path, Laya.Handler.create(this, function() { let monkey = Laya.loader.getRes(monkey1Path); let ape = new Laya.Sprite(); Laya.stage.addChild(ape); ape.graphics.drawTexture(monkey, 0, 0); var tl = new Laya.Ti...
来源: Laya_社区 发布时间: 20190927
...Browser.window.URL.createObjectURL(blob); Laya.loader.load(url, Handler.create(t, t.onComplete, [params]), null, Loader.IMAGE); 来将二进制文件中的图片文件数据转成Texture。 但目前在尝试将项目转native,想问下native中如何将获取的...
来源: Laya_社区 发布时间: 20190924
...odel/LayaMonkey/LayaMonkey.lh", clas: Laya.Sprite3D, priority: 1 } ]; Laya.loader.create(resource, Laya.Handler.create(this, onLoadFinish)); function onLoadFinish() { this.scene = Laya.stage.addChild(Laya.Scene.load("../../res/threeDimen/scene/ColliderScene/ColliderDemo.ls")); //初始化照相机 t...
来源: Laya_示例 发布时间: 20251209
...,通过downloadfile下载的资源应该如何加载使用?我看Miniloader的load里通过传入下载时的地址获取到处于缓存中,就直接用这个地址读取磁盘导致失败,结果又走了一遍不缓存的远程加载? 2,本地包白名单的文件判断是不会去添加...
来源: Laya_社区 发布时间: 20181205
..._XS 赞同来自: 你指的是2d的还是3d的加载,2d的加载就是用loader的load方法,3d的就是用Sprite3D的load方法 2017-12-31 0 0 分享 微博 QZONE 微信 ok10000 赞同来自: 怎么没有像egret那样介绍资源加载的教程? 2017-12-31 0 0 分享 微博 QZONE 微信 为...
来源: Laya_社区 发布时间: 20171230
...pleteHandler:Handler):void { this._completeHandler = completeHandler; Laya.loader.load('test.txt',Handler.create(this, onloaded)); } private function onloaded():void { trace('B',_completeHandler.method == null,_completeHandler['_id']) _completeHandler.run(); } } } 附件 : --> testlaya.rar 2017-03-3...
来源: Laya_社区 发布时间: 20170330