大约有 1,363 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0142 秒)
Laya_社区(1161) Laya2.0_文档(69) Laya3.0_文档(63) Laya2.0_示例(27) Laya_示例(24) Laya3.0_api(17) laya_api(1) Laya2.0_api(1)
... private switchAnimation(name:string) { console.log('switchAnimation: ' + this.meshes.length); let anitemplet = this.anies[name]; for (let mesh of this.meshes) { let ani = mesh.getComponentByType(...
来源: Laya_社区 发布时间: 20170608
...aya.loader.getRes("json/reward.json"); //输出透传过来的json console.log('透传的json信息:', testJosn); //加载IDE指定的场景 var big = new BigRank(); big.init(); } ``` 微信环境下测试,效果如图1: (图1)
来源: Laya2.0_文档 发布时间: 20210715
...Laya.Browser.clientHeight; constructor() { console.log('ch=' + Laya.Browser.clientHeight + ', h=' + Laya.Browser.height + ', pxTimes=' + GameMain.pxTimes); Laya.init(Laya.Browser.clientWidth, Laya.Browser.clientHeight, Laya.WebGL); Laya.stage.bgColor =...
来源: Laya_社区 发布时间: 20170403
...其妙消失,物体渲染队列的_IndexInList会被破坏 View嵌套Dialog组件 怎么获得laya.input输入框里面的值 问题状态 最新活动: 2018-10-23 14:16 浏览: 2374 关注: 4 人 e f • 2018-10-23 15:35 开根然后利用向量大小得到当前速度 这个具体要怎么操作...
来源: Laya_社区 发布时间: 20181022
..._slices; vertices[vc++]=0; vertices[vc+(this._slices+1)*8-1]=1; // console.log(posY);//(curAngle/Math.PI*180); } vc+=(this._slices+1)*8; for (var ri=0;ri < this._slices;ri++){ indices[ic++]=ri+verticeCount+(this._slices+1); indices[ic++]=ri+verticeCount+1; indices[ic++]=ri+verticeCount; indices[i...
来源: Laya_社区 发布时间: 20180113
popupEffect 有谁能告诉我dialog的这个东西要怎么用啊? popupEffect 有谁能告诉我dialog的这个东西要怎么用啊?这里面加了Handler 以后是不是还要加什么东西,能不能有个demo啊,找了半天没有找到 this.popupEffect = new Handler(this, () => { ...
来源: Laya_社区 发布时间: 20180620
...aya.loader.getRes("json/reward.json"); //输出透传过来的json console.log('透传的json信息:', testJosn); //加载IDE指定的场景 var big:BigRank = new BigRank(); big.init(); } ``` 微信环境下测试,效果如图1: (图1)
来源: Laya2.0_文档 发布时间: 20210715
...this.powerProgressWhiteSprite; this.isIncPower = true; return; } } console.log('===this.currentPower: ', this.currentPower); this.NodePowerProgressBar.graphics.clear(); //参数是否为true,都一样 this.NodePowerProgressBar.graphics.drawPie(100, 100, 100, 0, this.currentPower, ''); } 必现条件...
来源: Laya_社区 发布时间: 20190909
...;+payurl+"' target='_blank'>click</a>").get(0); console.log("aaa",a); var e = document.createEvent('MouseEvents'); e.initEvent('click',true,true); a.dispatchEvent(e); a.remove(); } </script> qian • 2018-03-21 14:00 直接附件上传一下项目可以么 kvs1205 ...
来源: Laya_社区 发布时间: 20180321
...中,吗发帮我看下,谢谢。 Monica • 2017-11-17 16:51 http://blog.csdn.net/qq_384151 ... 99967 yinglei999 • 2017-11-17 17:42 @Monica:不好意思,现在是通过看api中http://layaair.ldc.layabox.com ... ndBox 中的getCorners函数 var returnarr=[];layaZombie.meshRender.boundingBox....
来源: Laya_社区 发布时间: 20171117