大约有 361 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0068 秒)
Laya3.0_api(151) Laya_社区(102) Laya2.0_api(96) laya_api(7) Laya3.0_文档(2) Laya2.0_文档(2) Laya2.0_示例(1)
...hrome出现错误: Error processing launch: Error Could not attach to main target 图集打包找不到图集文件 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 iphoneX环境下新手引导的抠图透明区域为黑色,其它机型都是...
来源: Laya_社区 发布时间: 20161107
...用局部变量来保存它: ```javascript function foo() { var prop = target.prop; // 使用prop process1(prop); process2(prop); process3(prop); } ``` ### 二、计时器 LayaAir提供两种计时器循环来执行代码块。 1. `Laya.timer.frameLoop`执行频率依赖于帧频率,可通过Sta...
来源: Laya2.0_文档 发布时间: 20210715
...。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接...
来源: Laya2.0_api 发布时间: 20190513
...。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知。 如果侦听鼠标事...
来源: Laya2.0_api 发布时间: 20190513
...hrome出现错误: Error processing launch: Error Could not attach to main target 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 ide 2.4 layaair2-cmd 编译报错 配置layaAir需要注意的 图集打包找不到图集文件 微信小程...
来源: Laya_社区 发布时间: 20180604
....offAllCaller Defined 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...
来源: Laya3.0_api 发布时间: 20231115
...,响应事件中用什么方法指向事件的发起对象?原来用e.target和e.data。现在事件发起者和加载的数据怎么得到呢?(不用循环可以用直接用变量名,用了循环就不知道怎么获取了) 现在勉强这样实现了,但觉得不应该这样弄,求...
来源: Laya_社区 发布时间: 20161023
....offAllCaller Defined 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...
来源: Laya3.0_api 发布时间: 20231102
...。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 侦听加速器运动。 Accelerator once(type:String, caller:*, listener:Function, arg...
来源: Laya2.0_api 发布时间: 20190513
....offAllCaller Defined 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...
来源: Laya3.0_api 发布时间: 20231102