大约有 80 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0034 秒)
...OINT_BREAK KEY_DOWN KEY_PRESS KEY_UP LABEL LAYERCHANGE LINK LOADED MESSAGE 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 STO...
来源: Laya3.0_api 发布时间: 20231115
... function onLoaded() { start = new GameStartUI(); start.btn_start.on(Event.MOUSE_UP,this,gameInit) Laya.stage.addChild(start); } function gameInit() { map = new GameBgUI(); Laya.stage.addChild(map); play = new GamPlayUI(); Laya.stage.addChild(play); hero = new Hero("hero", 25) hero.pos(100,200) Laya...
来源: Laya_社区 发布时间: 20180911
...recList); } 3. 超链接的区域无法支持鼠标事件的mouseover和 mouseout 因此可以扩展一下 第一步 修改此类: class HTMLHitRect { constructor() { this.rec = new Laya.Rectangle(); this.isMouseOver = false; ...
来源: Laya_社区 发布时间: 20200724
...a = hitArea; Laya.stage.addChild(rect); //增加鼠标事件 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); r...
来源: Laya_社区 发布时间: 20180205
MOUSE_DOWN、MOUSE_UP,CLICK 三个鼠标事件,实现按下,松开,对象缩小和放大,点击事件打开对应界面。 问题:鼠标按下后,移开之后再松开。MOUSE_UP和CLICK都没有触发。导致对象缩小了却没有回归到正常状态。如何解决这问题呢? 2...
来源: Laya_社区 发布时间: 20180414
鼠标滚轮滚动事件 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
...请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: mouse的API Mouse.cursor 2018-01-12 0 0 分享 微博 QZONE 微信 fool_tiger 赞同来自: 哦,那就是只能在button上加mouse_over,mouse_out动作来控制了吧,没有类似buttonMode这样的属性? 2018-01...
来源: Laya_社区 发布时间: 20180112
[0]Event.Mouse_Drag和Event.Mouse_Drag_End在不注册鼠标事件的情况下无法 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, ...
来源: Laya_社区 发布时间: 20231106
...= message[static] 定义 message 事件对象的 type 属性值。Event MOUSE_DOWN : String = mousedown[static] 定义 mousedown 事件对象的 type 属性值。Event MOUSE_MOVE : String = mousemove[static] 定义 mousemove 事件对象的 type 属性值。Event MOUSE_OUT : String = mouseo...
来源: Laya2.0_api 发布时间: 20190513
...= message[static] 定义 message 事件对象的 type 属性值。Event MOUSE_DOWN : String = mousedown[static] 定义 mousedown 事件对象的 type 属性值。Event MOUSE_MOVE : String = mousemove[static] 定义 mousemove 事件对象的 type 属性值。Event MOUSE_OUT : String = mouseo...
来源: laya_api 发布时间: 20170929