大约有 143 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0035 秒)
Laya_社区(89) Laya_示例(13) Laya2.0_文档(12) Laya2.0_示例(10) Laya2.0_api(6) laya_api(6) Laya3.0_文档(6) Laya3.0_api(1)
...move和up事件 sp.on(Event.MOUSE_DOWN,this,onDown); Laya.stage.on(Event.MOUSE_UP,this,onUp); } private function onUp():void { Laya.stage.off(Event.MOUSE_MOVE,this,onMove); } private function onDown(e:Event):void { Laya.stage.on(Event.MOUSE_MOVE,this,onMove); } private function onMove():void { // ...
来源: Laya_社区 发布时间: 20170106
...了 on(Laya.Event.MOUSE_DOWN, this,this.mouseHandlerDown,); on(Laya.Event.MOUSE_UP, this,this.mouseHandlerUp,[i]);[/i] [i] [/i] [i]为什么在这个bg.png上面点击,下面的金币也会有点击事件?[/i] 附件 : --> 2018-01-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20180131
...tion():void { btn.filters = [new GlowFilter("#ff0f0f")]; } ); btn.on(Event.MOUSE_UP, this, function():void { btn.filters = null; } ); 附件 : --> myLaya_demo1.zip 2018-12-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 ...
来源: Laya_社区 发布时间: 20181221
...eContainer.on(Event.MOUSE_DOWN, this, downHandler); gameContainer.on(Event.MOUSE_UP, this, upHandler); } private function moveHandler():void { interactionArea.graphics.drawCircle(Laya.stage.mouseX, Laya.stage.mouseY, 30, "#ff0000"); } private function upHandler():void { trace("KouTu.upHandler()"); /...
来源: Laya_社区 发布时间: 20170315
...ya.Physics.rayCast(ray, hit, 1000); } Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { var str = ""; if (!hit.sprite3D) { str = "点击选取的几何体"; }else{ str = hit.sprite3D.name + " "; } ...
来源: Laya_社区 发布时间: 20170915
...et = new Laya.Vector3(0, 0.25, 0); //鼠标事件 Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { if (_outHitInfo.distance !== -1) { var sphere = scene.addChild(new Laya.MeshSprite3D(new Laya.SphereMesh(0.25, 16, 16))); var mat = new Laya.StandardMaterial(); mat.diffuseTexture = Laya.Texture2...
来源: Laya_示例 发布时间: 20251130
... function TipsView(params) { TipsView.super(this); this.sure.on(Laya.Event.MOUSE_UP,this,onSure); function onSure(params) { } } Laya.class(TipsView,"TipsView",TipsViewUI); return TipsView; })(); 2017-10-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20171017
... <code>Event.MOUSE_OVER、Event.MOUSE_OUT、Event.MOUSE_DOWN、Event.MOUSE_UP、Event.CLICK</code> 事件侦听处理函数。 * @param e Event 对象。 */ protected function onMouse(e:Event):void { if (toggle === false && _selected) return; if(e.type==Event.MOUSE_DOWN){ QuickUt...
来源: Laya_社区 发布时间: 20160802
....refreshList.array = data; // 添加事件监听 this.refreshList.on(Event.MOUSE_UP, this, this.stageOnMouseUp); this.refreshList.on(Event.MOUSE_OUT, this, this.stageOnMouseUp); //游戏逻辑关联引擎的停止滚动接口 this.refreshList.scrollBar.stopMoveLimit = this.scrollBarIsStopBind.bind(t...
来源: Laya2.0_示例 发布时间: 20251130
...p(); Laya.stage.on(Event.MOUSE_DOWN, this, mouseDown); Laya.stage.on(Event.MOUSE_UP, this, mouseUp); })(); //创建地图http://layaair.ldc.layabox.com/api/ function createMap() { //创建地图对象 tiledMap = new TiledMap(); mX = mY = 0; //创建地图,适当的时候调用destory销毁地图 t...
来源: Laya_社区 发布时间: 20171205