大约有 43 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0034 秒)
...a.Event.MOUSE_MOVE, this, this.scrollText); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.finishScroll); } function finishScroll(){ Laya.stage.off(Laya.Event.MOUSE_MOVE, this, this.scrollText); Laya.stage.off(Laya.Event.MOUSE_UP, this, this.finishScroll); } function scrollText(){ ...
来源: Laya_社区 发布时间: 20170810
... 非文 赞同来自: laya.events.Event.MOUSE_DOWN 和 laya.events.Event.MOUSE_UP 2016-11-10 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 jy02250344 相关问题 【屏幕适配】在LayaAir上面是竖屏,为什么到微信开发...
来源: Laya_社区 发布时间: 20161110
...无法 const MOUSE_EVENTS = new Set([ Event.MOUSE_DOWN, Event.MOUSE_UP, Event.MOUSE_MOVE, Event.CLICK, Event.DOUBLE_CLICK, Event.RIGHT_CLICK, Event.RIGHT_MOUSE_DOWN, Event.RIGHT_MOUSE_UP, Event.MOUSE_OVER, Event.MOUSE_OUT, Event.MOUSE_WHEEL ]); s...
来源: Laya_社区 发布时间: 20231106
...r); }, setMouseUpHandler: function (context, handler) { this.on(this.EVENT.MOUSE_UP, context, handler); },该按钮实现这功能, 按钮旋转后 点击区域不一致 我们使用的 layaair js库文件做的 2017-03-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20170316
...on(Event.MOUSE_DOWN, Laya.stage.on(Event.MOUSE_MOVE, Laya.stage.on(Event.MOUSE_UP, Laya.stage.on(Event.MOUSE_OUT, 2017-06-23 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 jison_ailin 相关问题 看了其他引擎才发现 LAYA ...
来源: Laya_社区 发布时间: 20170617
...鼠标事件 rect.on(Event.MOUSE_DOWN, this, mouseHandler); rect.on(Event.MOUSE_UP, this, mouseHandler); rect.on(Event.CLICK, this, mouseHandler); rect.on(Event.RIGHT_MOUSE_DOWN, this, mouseHandler); rect.on(Event.RIGHT_MOUSE_UP, this, mouseHandler); rect.on(Event.RIGHT_CLICK, this, mouseHandler); r...
来源: Laya_社区 发布时间: 20180205
...n(Laya.Event.MOUSE_MOVE, this, this.onMouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.onMouseUp, [true]); } /** 按钮动画处理 */ private hitTest(t: Laya.Image) { let s = t.source.getPixels(t.mouseX, t.mouseY, 1, 1).join(''); if (s == '0000') return false; this.down = t; return true; }...
来源: Laya_社区 发布时间: 20180731
...ownValue = this.list_rule.scrollBar.value; } else if (e.type == Laya.Event.MOUSE_UP || e.type == Laya.Event.MOUSE_OUT) { if (this.m_downValue > -1) { if (this.list_rule.scrollBar.value < this.m_downValue) { this.list_rule.scrollBar.stopScroll(); this.list_rule.tweenTo(index - 1,100); } else if...
来源: Laya_社区 发布时间: 20181112
....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
...,TouchManager._tEleArr); this.sendEvents(arrs,isLeft ? /*laya.events.Event.MOUSE_UP*/"mouseup" :/*laya.events.Event.RIGHT_MOUSE_UP*/"rightmouseup",touchID); var preDowns; preDowns=isLeft ? this.preDowns :this.preRightDowns; preO=this.getTouchFromArr(touchID,preDowns); if (!preO){...
来源: Laya_社区 发布时间: 20180529