大约有 496 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0052 秒)
...时加载多个.js文件 Laya.loader.load("js/daTing.js", Handler.create(this, onAssetLoadedDT), null, Loader.TEXT); 同时加载多个么? 2017-10-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知...
来源: Laya_社区 发布时间: 20171017
...nect to runtime process, timeout after 10000 ms - (reason: Can't attach to this target that may have Chrome DevTools attached - file:///D:/work/SlotProject2/bin/index.html). 2017-04-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20170428
...= Laya.Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"); this.scene.addChild(monkey); //获取角色动画组件 var ani = monkey.getChildAt(0).getComponent(Laya.Animator); //创建一个动画动作状态 var state1 = new Laya.AnimatorState(); //设置动作状态的名称 state1....
来源: Laya2.0_文档 发布时间: 20210715
...(x,y,width,height){ if (Render.isWebGL){ return RunDriver.getTexturePixels(this,x,y,width,height); }else { Browser.canvas.size(width,height); Browser.canvas.clear(); Browser.context.drawTexture(this,-x,-y,this.width,this.height,0,0); var info=Browser.context.getImageData(0,0,width,height); } return ...
来源: Laya_社区 发布时间: 20171201
...ateMap("res/isometric_grass_and_water.json", viewRect, Laya.Handler.create(this, this._OnMapCreate), null, new Laya.Point(2 * 64, 2 * 32)); 附件 : --> 2019-01-02 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为...
来源: Laya_社区 发布时间: 20190102
...画布上显示,需要调用其他的函数,刷新吗 var itemlevel = this.tiledMap.getLayerByName(layerName); if (itemlevel == null) { return; } itemlevel.addChild(); 2019-06-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20190612
...or, data?:any)=>void) { let req = new Request(); req.on(Event.COMPLETE, this, (data) => { cb(null, data); }); req.on(Event.ERROR, this, (err) => { console.error(err); cb(err); }); let body = data; let tp = typeof data if(tp === 'object' || tp === 'array'){ if(method === 'post' || method ===...
来源: Laya_社区 发布时间: 20170123
...ascii"; } 2018-01-15 0 0 分享 微博 QZONE 微信 liwenhua 赞同来自: this.linkJson = Laya.loader.getRes('res/json/linkUrl.json');这样读取出来不就是就对象了吗,怎么设置编码格式啊??不会啊!!!我都是这样引用,然后直接this.linkJson.XXX进行读取的...
来源: Laya_社区 发布时间: 20180115
...class A { protected _id:number = 1; public get id():number { return this._id } public set id(value:number){ this._id = vaule; } } class B extends A { public set id(value:number){ this._id = value + 1; } } class C extends A { public get id():number { return this._id } ...
来源: Laya_社区 发布时间: 20161109
... 1 分享 微博 QZONE 微信 dasonjack 赞同来自: 在complete回调里 this.shoesData=Laya.loader.getRes('') 2019-07-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 胡百川 相关问题 2.0一不小心删了bin目录下的某个...
来源: Laya_社区 发布时间: 20190717