大约有 1,363 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)
Laya_社区(1161) Laya2.0_文档(69) Laya3.0_文档(63) Laya2.0_示例(27) Laya_示例(24) Laya3.0_api(17) laya_api(1) Laya2.0_api(1)
...cell._childs[1].text=data.listNumber.text; console.log(index) //根据子节点的名字listNumber,获取子节点对象。 var listNumber1 = cell.getChildByName("text"); // var text = cell.getChildByNa...
来源: Laya_社区 发布时间: 20180717
...必须保证池中最少存在1个 if (this.m_ObjectPoolDic[key]){ console.log("初始化有误,该值已经有对应的 对象池了"); } else{ this.m_ObjectPoolDic[key]=new QueueT<Laya.MeshSprite3D>(); this.m_ObjectPoolDic[key].push(MeshSprite); } } //按照编号取出对应对象池中...
来源: Laya_社区 发布时间: 20191206
...a.HttpRequest(); hr.once(Laya.Event.PROGRESS, this, function (e) { console.log(e); }); hr.once(Laya.Event.COMPLETE, this, function () { console.log(hr.data); }); hr.once(Laya.Event.ERROR, this, function (e) { console.log(e); }); hr.send('http://stone.tt.be-xx.com/git/test.php', s, 'post', 'text'); L...
来源: Laya_社区 发布时间: 20170628
... this.rigidbody.linearVelocity = vectory; console.log("施加的线速度:"); console.log(vectory); console.log("获取得到的线速度:"); console.log(this.rigidbody.linearVelocity); 附件 : --> 2020-03-30 添加...
来源: Laya_社区 发布时间: 20200330
...bug,将其缩放又复原了),在其物体缩放(变大)前后,log输出的scale,以及localScale依旧为1。 ,昨天看了几个小时,愣是没看出是哪里的问题,所以希望看看是不是真存在bug。能给个解决下,以及问个问题,在unity里编辑时,...
来源: Laya_社区 发布时间: 20170425
... hr.http.timeout = 3000; hr.http.ontimeout = function(){console.log("http timeout test: timeout")}; hr.once(Laya.Event.COMPLETE, this, ()=>{console.log("http timeout test: success");}); hr.once(Laya.Event.ERROR, this, (e: any)=>{console.log("http timeout test: error " + ...
来源: Laya_社区 发布时间: 20171016
...script" npm ERR! node v4.4.1 npm ERR! npm v2.14.20 npm ERR! path npm-debug.log.532595257 npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall open npm ERR! Error: EACCES: permission denied, open 'npm-debug.log.532595257' npm ERR! at Error (native) npm ERR! { [Error: EACCES: permission denied, op...
来源: Laya_社区 发布时间: 20160829
...; js: ws.onmessage = function (e) { var view=new DataView(e.data); console.log(view.byteLength);//7 console.log(view.getInt32(0));//3 console.log(view.getInt8(4),view.getInt8(5),view.getInt8(6));// -28 -67 -96 console.log(new Uint8Array(view.buffer));//Uint8Array(7) [0, 0, 0, 3, 228, 189, 160] ...
来源: Laya_社区 发布时间: 20180302
... down2() { this.a = Laya.stage.mouseX; this.b = Laya.stage.mouseY; console.log("鼠标点击的点" + this.a, this.b) Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.move2) } move2() { this.path.push(Laya.stage.mouseX, Laya.stage.mouseY); // console.log("移动的点集合" + this.path); this.ps.gra...
来源: Laya_社区 发布时间: 20170721
...ZONE 微信 yzbgyc 赞同来自: 压缩包内包含两个之日,一个是log.txt另一个是log2.txt 因为我看到第一个log缺少map文件,然后我就把发布后的工程,增加了 相关的*.map但是我不理解的时候,为什么 会用到这个map文件,而没有问题的机器 ...
来源: Laya_社区 发布时间: 20180601