大约有 140 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0034 秒)
Laya_社区(86) Laya_示例(13) Laya2.0_文档(12) Laya2.0_示例(10) Laya2.0_api(6) laya_api(6) Laya3.0_文档(6) Laya3.0_api(1)
....on(Laya.Event.MOUSE_MOVE, this, this.__mouseMove); this.bmp.on(Laya.Event.MOUSE_UP, this, this.__mouseUp); console.log(this.pos0.x); } __mouseMove(e:Event){ this.pos1.x=this.bmp.mouseX this.pos1.y=this.bmp.mouseY; if(Utils3D.getThis.getDistance(this.pos0,this.pos1)>10){ this.bmp.graphics.drawLin...
来源: Laya_社区 发布时间: 20170831
...r arr = {data: StorageRoom.map_storageData[0][0],tag:0}; box.on(Laya.Event.MOUSE_UP,this,this.onclick,[arr]); var _proto = StorageUILayer.prototype; _proto.onclick = function(params){ console.log("--------------------------------hhhhhhhhhhh- "); } -------------------------------------------...
来源: Laya_社区 发布时间: 20171113
...s.starY = e.stageY; //添加弹起和移动事件 this.layer.on(Laya.Event.MOUSE_UP, this, this.upFun); this.layer.on(Laya.Event.MOUSE_MOVE, this, this.moveFun); } //弹起事件 ModeKey.prototype.upFun = function () { this.isDown = false; this.isUp = false; this.isMove = false; this.isMode = "stop"...
来源: Laya_社区 发布时间: 20171030
...SSAGE MOUSE_DOWN MOUSE_DRAG MOUSE_DRAG_END MOUSE_MOVE MOUSE_OUT MOUSE_OVER MOUSE_UP MOUSE_WHEEL OPEN PAUSED PLAYED PROGRESS READY REMOVED RENDER RESIZE RIGHT_CLICK RIGHT_MOUSE_DOWN RIGHT_MOUSE_UP ROLL_OUT ROLL_OVER SELECT START STOPPED TRANSFORM_CHANGED TRIGGER_ENTER TRIGGER_EXIT TRIGGER_STAY UNDISP...
来源: Laya3.0_api 发布时间: 20231115
...stage.on(Laya.Event.MOUSE_DOWN, this, this.down2) Laya.stage.on(Laya.Event.MOUSE_UP, this, this.up2) Laya.stage.addChild(this.ps); } 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.mo...
来源: Laya_社区 发布时间: 20170721
鼠标滚轮滚动事件 Laya.Event.MOUSE_DOWN // 左键按下 Laya.Event.MOUSE_UP // 左键抬起 Laya.Event.CLICK // 左键点击 Laya.Event.RIGHT_MOUSE_DOWN // 右键按下 Laya.Event.RIGHT_MOUSE_UP // 右键抬起 Laya.Event.RIGHT_CLICK // 右键单击 Laya.Event.MOUSE_MOVE // 鼠标移动 Laya...
来源: Laya_社区 发布时间: 20180411
...eY; Laya.stage.on(Event.MOUSE_MOVE, this, scrollText); Laya.stage.on(Event.MOUSE_UP, this, finishScrollText); } /* 停止滚动文本 */ private function finishScrollText(e:Event):void { Laya.stage.off(Event.MOUSE_MOVE, this, scrollText); Laya.stage.off(Event.MOUSE_UP, this, finishScrollText); } /* ...
来源: Laya2.0_文档 发布时间: 20210715
...DOWN事件响应得到一个触摸点后 如何在Event.MOUSE_MOVE和Event.MOUSE_UP事件中区分是先前那个触摸点,这点如果不能区分的话,就分不清楚是摇杆的触摸点还是其他按钮的触摸点 2017-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20170307
...aya.stage.on(Event.MOUSE_MOVE, this, this.scrollText); Laya.stage.on(Event.MOUSE_UP, this, this.finishScrollText); } /* 停止滚动文本 */ private finishScrollText(e: Event): void { Laya.stage.off(Event.MOUSE_MOVE, this, this.scrollText); Laya.stage.off(Event.MOUSE_UP, this, this.finishScrollText...
来源: Laya2.0_文档 发布时间: 20210715
...eY; Laya.stage.on(Event.MOUSE_MOVE, this, scrollText); Laya.stage.on(Event.MOUSE_UP, this, finishScrollText); } /* 停止滚动文本 */ function finishScrollText(e) { Laya.stage.off(Event.MOUSE_MOVE, this, scrollText); Laya.stage.off(Event.MOUSE_UP, this, finishScrollText); } /* 鼠标滚动文本 ...
来源: Laya2.0_文档 发布时间: 20210714