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

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

1951. laya.net.Loader [ 28%]

...offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Even...

来源: Laya2.0_api 发布时间: 20190513

1952. laya.device.media.Video [ 28%]

...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...

来源: Laya2.0_api 发布时间: 20190513

1953. laya.display.BitmapFont_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

1954. 缓动动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 28%]

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

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

1955. Socket能连接到服务器,客户端发请求也能收到服务端的数据,但是服务端主动推送数据,客户端就是收不到数据? [ 28%]

...是为什么? 已上传 Demo 附件 TextInput重写onFocus和onBlur事件监听不到 图集打包找不到图集文件 如何与服务端建立连接 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 TypeScript下HttpRequest发送Post请...

来源: Laya_社区 发布时间: 20170724

1956. 【简单跑酷--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

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

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

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

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

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

1960. 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_示例 发布时间: 20260303