大约有 2,092 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0060 秒)
Laya_社区(1702) Laya3.0_api(155) Laya2.0_api(97) laya_api(63) Laya2.0_文档(54) Laya3.0_文档(20) Laya2.0_示例(1)
...s.player.x = 32 * 8; this.player.y = 32 * 4; this.addChild(this.player); //监听 按下 弹起 事件 Laya.stage.on(laya.events.Event.MOUSE_DOWN, this, this.onMouseDown); //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } _proto.onLoop = function(){ // 检测人物是...
来源: Laya_社区 发布时间: 20160801
... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...
来源: Laya3.0_api 发布时间: 20231115
... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...
来源: Laya3.0_api 发布时间: 20231102
...这时就可以用到缓动完成回调,在回调函数中再加入按钮监听。 ##### delay delay是延迟执行的时间,稍后会通过实例中的延迟执行制作出文本缓动的波动效果。 ### 3. 缓动实例 #### 3.1 Tween.from()的实例 下列代码中,我们先通过Tween.fr...
来源: Laya2.0_文档 发布时间: 20210715
...eateData(9, "初始数据"); this.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 ...
来源: Laya2.0_示例 发布时间: 20251219
...te 默认不接受鼠标事件,即mouseEnabled=false,但是只要对其监听任意鼠标事件,会自动打开自己以及所有父对象的mouseEnabled=true。所以一般也无需手动设置mouseEnabled。 LayaAir引擎API设计精简巧妙。核心显示类只有一个Sprite。Sprite针...
来源: Laya3.0_api 发布时间: 20231115
...这时就可以用到缓动完成回调,在回调函数中再加入按钮监听。 ##### delay delay是延迟执行的时间,稍后会通过实例中的延迟执行制作出文本缓动的波动效果。 ### 3. 缓动实例 #### 3.1 Tween.from()的实例 下列代码中,我们先通过Tween.fr...
来源: Laya2.0_文档 发布时间: 20210715
... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...
来源: Laya3.0_api 发布时间: 20231115
... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...
来源: Laya3.0_api 发布时间: 20231115
... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...
来源: Laya3.0_api 发布时间: 20231115