大约有 5 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0022 秒)
....log("LabelName:" + label); } keyDown(e) { const Keyboard = Laya.Keyboard; switch(e.keyCode) { case Keyboard.LEFT: this.timeLine.play("turnLeft"); break; case Keyboard.RIGHT: this.timeLine.play("turnRight"); break; case Keyboard.UP: this.timeLine.play("turnUp"); break; case Keyboard.DOWN: this.timeL...
来源: Laya2.0_示例 发布时间: 20241119
... * 鼠标响应事件处理 */ mouseHandler(e) { const Event = Laya.Event; switch (e.type) { case Event.MOUSE_DOWN: this.appendText("\n————————\n左键按下"); break; case Event.MOUSE_UP: this.appendText("\n左键抬起"); break; case Event.CLICK: this.appendText("\n左键点击\n...
来源: Laya2.0_示例 发布时间: 20241119
...rent = 0; } makeObject(current); } function makeObject(t) { var xd; var i; switch (t) { case 0: for (i = 0; i tpoint1[i]) { tpoint1[i] = tpoint1[i] + 1; } if (points1[i] tpoint2[i]) { tpoint2[i] = tpoint2[i] + 1; } if (points2[i] tpoint3[i]) { tpoint3[i] = tpoint3[i] + 1; } if (points3[i] = []; priv...
来源: Laya2.0_示例 发布时间: 20241119
...s.drawSp.width,this.drawSp.height,"#ff0000"); } private _onclick(e:Event){ switch (e.target.name) { case this.nameArr[0]: var base64Url:string = this._canvas.toDataURL("image/png",1); this.drawImage.skin = base64Url; break; case this.nameArr[1]: var text:Texture = Laya.stage.drawToTexture(Browser.cl...
来源: Laya2.0_示例 发布时间: 20241119
...ddGroup(rigidbody, ratio); } private function addGroup(rigidbody, ratio) { switch(ratio) { case 1: rigidbody.group = Physics_Physics_CollisionFiltering.k_smallGroup; break; case 2: rigidbody.group = Physics_Physics_CollisionFiltering.k_middleGroup; break; case 3: rigidbody.group = Physics_Physics_Co...
来源: Laya2.0_示例 发布时间: 20241119