大约有 358 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0048 秒)
Laya_社区(288) Laya2.0_文档(35) Laya3.0_文档(20) Laya2.0_示例(4) Laya_示例(4) Laya3.0_api(3) laya_api(2) Laya2.0_api(2)
....init(600,400,Laya.WebGL); //设置Laya提供的worker.js路径 Laya.WorkerLoader.workerPath = "libs/worker.js"; //开启worker线程 Laya.WorkerLoader.enable = true; //加载引擎需要的资源 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,onLoaded)); function onLoaded(){ //实...
来源: Laya2.0_文档 发布时间: 20210715
...代码: import Label = Laya.Label; import Handler = Laya.Handler; import Loader = Laya.Loader; class GameBootstrap{ public constructor(){ this.init(); } private init():void{ //初始化微信小游戏 Laya.MiniAdpter.ini...
来源: Laya_社区 发布时间: 20180529
....init(600,400,Laya.WebGL); //设置Laya提供的worker.js路径 Laya.WorkerLoader.workerPath = "libs/worker.js"; //开启worker线程 Laya.WorkerLoader.enable = true; //加载引擎需要的资源 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,this.onLoaded)); } private onLoaded():...
来源: Laya2.0_文档 发布时间: 20210715
...Enter(){ this.img_sample.on(Laya.Event.CLICK, this, this.onImgClick); Laya.loader.load("res/atlas/comp/skeleton.atlas"); //创建动画模板 this.templet = new Laya.Templet(); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError); this...
来源: Laya_社区 发布时间: 20180905
...加皮肤出错 微信关系链开发,如果在开放域那边使用Laya.loader.load加载就会出错 问题状态 最新活动: 2018-03-13 21:26 浏览: 1003 关注: 2 人 weedong • 2020-04-07 21:30 你好,最后有没有实现命令行打图集?
来源: Laya_社区 发布时间: 20180313
Laya.loader.load(xx) 当地址""的时候,会报错。 laya 引擎是2.5的 Laya.loader.load(cg_url,Laya.Handler.create(this,()=>{ let tur:Laya.Texture = Laya.loader.getRes(cg_url); if(tur)img_cg.graphics.drawImage(tur) ...
来源: Laya_社区 发布时间: 20201130
...止工作 unity的坐标和旋转转换到laya需要做什么运算 请问Loader.load支持支持swf格式的预加载吗? 请问Laya支持什么样的swf,我运行公司美术给的swf,屏幕一片黑 龙骨动画转换失败 Cannot read property 'name' of undefined layabox 3d格式转换 的...
来源: Laya_社区 发布时间: 20190402
...图片加密数据是在图片的前面写入了四个字节的数据 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
...map生成的json文件里data是这种格式,地图显示有误 请问下loader如何强制加载一个文件,避免浏览器的缓存 微信小程序 发布后缺少app.json文件 微信小游戏中访问带空格的文件出错 粒子系统官例里载入的那些json文件是用什么软件...
来源: Laya_社区 发布时间: 20171211
...年了至今无解答 let aniEffConfPath = './res/atlas/comp.atlas' Laya.loader.load(aniEffConfPath, Laya.Handler.create(this, this.onLoaded)) onLoaded(){ // Laya.ClassUtils.regClass('ui.TestPUI', ui.TestPUI) var efc = new ui.TestPUI(); Laya.stage.addChild(efc); } 按照官方文档,运行后报...
来源: Laya_社区 发布时间: 20210111