大约有 3,272 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0059 秒)
...加的元素始终保持在最底部显示? LayaFlash:求ByteArray.jas ->readMultiByte对gb2312的实现翻译 关于Laya实现Matter.js官方案例凹多边形的问题 在List渲染的时候,在滚动一个list的时候,如何实现另一个list也跟着滚动,并且两个list同时滚...
来源: Laya_社区 发布时间: 20180118
...1/lib/arm64/liblayaair.so (laya::imp_JS2CFunc<void (laya::JSAudio::*)()>::call(v8::FunctionCallbackInfo<v8::Value> const&)+364) [arm64-v8a] 5 #04 pc 00000000009b6d1c /data/app/com.mylafe.game.handsomecat-1/lib/arm64/liblayaair.so (v8::internal::FunctionCallbackArguments::Call(void (...
来源: Laya_社区 发布时间: 20191217
...e getView(clazz: any):Laya.Node{ for(let i:number =0 ; i<this.uiList.length ; i++){ let uiData = this.uiList[i]; if(uiData.clazz == clazz){ return uiData.view; } } }[/i]根据clazz名字获取本地缓存的场景类 下面是关闭场景,[i] public closeWindow(clazz: any): void { let v =...
来源: Laya_社区 发布时间: 20190222
...Auto Import的功能实现的) import BM from './b'; window.onload = ()=>{ console.log(AM.AC.myname); console.log(BM.BC.myname); console.log(Laya.Browser.clientWidth); } 2018-10-26 0 1 分享 微博 QZONE 微信 177*****949 赞同来自: 你这个方法有个问题 : 当a类和b类 都使用一...
来源: Laya_社区 发布时间: 20180926
...addChild(res1); scene.addChild(res2); Laya.timer.frameLoop(1, this, () => { res1.transform.localPositionX += 0.016; res2.transform.position.x += 0.016; console.log("本地坐标1:", res1.transform.localPosition); console.log("世界坐标1:", res1.transform.position); console.log("本地坐...
来源: Laya_社区 发布时间: 20190717
...代码是:Texture._create方法中if (bitmap.width && (x+width)> bitmap.width) 里的bitmap为null,往上看可能是source为null 但是仍然无法判断到是我的场景UI的问题还是代码的问题 2020-02-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20200201
...turn b; if ((t /= d) == 1) return b + c; if (!p) p = d * .3; if (!a || (c > 0 && a < c) || (c < 0 && a < -c)) { a = c; s = p / 4; } else s = p / PI2 * Math.asin(c / a); return (a * Math.pow(2, -10 * t) * Math.sin((t * d - s) * PI2 / p) + c + b); }可以按照原来的函...
来源: Laya_社区 发布时间: 20180104
...os1.y=this.bmp.mouseY; if(Utils3D.getThis.getDistance(this.pos0,this.pos1)>10){ this.bmp.graphics.drawLine(this.pos0.x,this.pos0.y,this.pos1.x,this.pos1.y,"#ff0000",5); this.pos0.x=this.bmp.mouseX; this.pos0.y=this.bmp.mouseY; } } __mouseUp(e:Event){ this.bmp.off(Laya.Event.MOUSE_MOVE, this, this...
来源: Laya_社区 发布时间: 20170831
...重复利用。 hill_0219 • 2018-01-22 10:37 let resArray: Array<any> = [ { url: hyip+"res/atlas/comp/01_shouye.json", type: Loader.ATLAS }, { url: hyip+"res/atlas/comp/02_zhujiemian.json", type: Loader.ATLAS }, { url: hyip+"res/atlas/comp/30_loading.json", type...
来源: Laya_社区 发布时间: 20180120
...官方帮助, 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 为什么laya.pathfinding.js里面的Grid,通过Laya.Grid竟然获取不到?有laya.pathfinding.js的使用教程吗?API中没有找到。 设备的几个单例都获取不到 问题状态 最新活动: 2019-01-08 1...
来源: Laya_社区 发布时间: 20181215