• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,092 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0060 秒)

1951. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 28%]

...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

1952. laya.resource.HTMLCanvas_API3.0 [ 28%]

... 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

1953. laya.net.LoaderManager_API3.0 [ 28%]

... 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

1954. 缓动动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 27%]

...这时就可以用到缓动完成回调,在回调函数中再加入按钮监听。 ##### delay delay是延迟执行的时间,稍后会通过实例中的延迟执行制作出文本缓动的波动效果。 ### 3. 缓动实例 #### 3.1 Tween.from()的实例 下列代码中,我们先通过Tween.fr...

来源: Laya2.0_文档 发布时间: 20210715

1955. UI-RefreshList [ 27%]

...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

1956. laya.display.Sprite_API3.0 [ 27%]

...te 默认不接受鼠标事件,即mouseEnabled=false,但是只要对其监听任意鼠标事件,会自动打开自己以及所有父对象的mouseEnabled=true。所以一般也无需手动设置mouseEnabled。 LayaAir引擎API设计精简巧妙。核心显示类只有一个Sprite。Sprite针...

来源: Laya3.0_api 发布时间: 20231115

1957. 缓动动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 27%]

...这时就可以用到缓动完成回调,在回调函数中再加入按钮监听。 ##### delay delay是延迟执行的时间,稍后会通过实例中的延迟执行制作出文本缓动的波动效果。 ### 3. 缓动实例 #### 3.1 Tween.from()的实例 下列代码中,我们先通过Tween.fr...

来源: Laya2.0_文档 发布时间: 20210715

1958. laya.ani.AnimationTemplet_API3.0 [ 26%]

... 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

1959. laya.particle.ParticleTemplate2D_API3.0 [ 26%]

... 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

1960. laya.resource.BaseTexture_API3.0 [ 26%]

... 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