大约有 35 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0027 秒)
...动变量变化 function roundTurnChange(type){ //减速阶段 roundTurn-=0.05; if(roundTurn<=0.3){ console.log("*************************************************88"); Laya.timer.clear(this.tlate,round); } return roundTurn; } 匿名用户 • 2018-08-11 15:41 Laya.timer.clear(this,round...
来源: Laya_社区 发布时间: 20160718
...dingBar.value = 0; } this.loadingBar.value += 0.05; } onChange(value: number): void { console.log("进度:" + Math.floor(value * 100) + "%"); } } 2018-05-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20180524
...上角色后啥都没变化 var cylinderMesh:CylinderMesh=new CylinderMesh(0.05,2,8); var cylinder3D:MeshSprite3D=new MeshSprite3D(cylinderMesh); cylinder3D.transform.translate(new Vector3(3,0,0),true); cylinder3D.transform.localScale = new Vector3(2,2,2); cylinder3D.transform.localRotationEuler = n...
来源: Laya_社区 发布时间: 20170904
... { if (progressBar.value >= 1) progressBar.value = 0; progressBar.value += 0.05; } function onChange(value) { console.log("进度:" + Math.floor(value * 100) + "%"); } })(); ```
来源: Laya2.0_文档 发布时间: 20210715
...e.destroy(); Laya.stage.addChild(new gamelistUI()); } progressBar.value += 0.05; // this.removeSelf(); // } // function onChange(value) // { // if(value>=100){ // } // } // return Loadings; })(laya.loadingUI); 2018-01-01 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...
来源: Laya_社区 发布时间: 20171230
...gressBar.value >= 1) this.progressBar.value = 0; this.progressBar.value += 0.05; } private onChange(value: number): void { console.log("进度:" + Math.floor(value * 100) + "%"); } } } new laya.UI_ProgressBar(); ```
来源: Laya2.0_文档 发布时间: 20210715
...stic = Matter.Constraint.create( { pointA: anchor, bodyB: rock, stiffness: 0.05, render: { lineWidth: 5, strokeStyle: '#dfa417' } }); var pyramid = Matter.Composites.pyramid(500, 300, 9, 10, 0, 0, function(x, y, column) { var texture = column % 2 === 0 ? '../../res/physics/img/block.png' : '../../re...
来源: Laya_示例 发布时间: 20251209
...5% if (progressBar.value >= 1) progressBar.value = 0; progressBar.value += 0.05; } /***进度条数据改变回调***/ private function onChange(value:Number):void { trace("进度:" + Math.floor(value * 100) + "%"); } } } ```
来源: Laya2.0_文档 发布时间: 20210715
...码中,摄像机移动使用的是 this.camera.transform.localPositionZ+=0.05;向局部坐标系的z轴正方向移动,这行代码的效果应该是离物体越来越近了,根据您代码里设置的范围来看是正常的,我这里改成"-="后坐标位置也显示正常。 第二个bug...
来源: Laya_社区 发布时间: 20210904
...实是球体 var sphere = scene.addChild(new MeshSprite3D(new SphereMesh(0.05,100,100))) as MeshSprite3D; var material = new StandardMaterial(); material.albedo = new Vector4(0, 0, 0, 1); sphere.meshRender.material = material; sphere.transform.position = new Vector3(0, 0, 0); //模拟x轴,其实...
来源: Laya_社区 发布时间: 20170314