大约有 479 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0035 秒)
Laya3.0_api(154) laya_api(104) Laya2.0_api(97) Laya_社区(91) Laya3.0_文档(10) Laya2.0_示例(8) Laya2.0_文档(8) Laya_示例(7)
...链接 提交 1 个回复 cuixueying 赞同来自: on用来侦听事件,off用来移除事件,btn.off(Event.MOUSE_MOVE, this, onMouseMove); 2017-06-23 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Agnes 相关问题 请问有没...
来源: Laya_社区 发布时间: 20170623
...oy event getMaxHeight getMaxWidth getTextWidth hasListener isCreateFromURL off offAll offAllCaller on once parseFont destroyUnusedResources loadFont Constructors constructor new BitmapFont(): BitmapFont Overrides Resource.__constructor Defined in laya/display/BitmapFont.ts:37 Returns BitmapFont Prop...
来源: Laya3.0_api 发布时间: 20231115
... ShuPing(); if(_tip){ _tip.graphics.clear(); _downFlag = false; Laya.stage.off(Event.MOUSE_MOVE,this,_moveHandler); _tip.off(Event.MOUSE_DOWN,this,_downHandler); _tip.off(Event.MOUSE_UP,this,_upHandler); _tip.destroy(); } _tip = new Sprite(); _tip.graphics.drawRect(0,0,100,100,"#FFFFFF"); ...
来源: Laya_社区 发布时间: 20190520
...请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: off 移除监听 * 从 EventDispatcher 对象中删除侦听器。 * @param type 事件的类型。 * @param caller 事件侦听函数的执行域。 * @p...
来源: Laya_社区 发布时间: 20180314
...接 提交 2 个回复 qian 赞同来自: VkonSun on用来侦听事件,off用来移除事件,btn.off(Event.MOUSE_MOVE, this, onMouseMove); 2018-03-21 1 0 分享 微博 QZONE 微信 VkonSun 赞同来自: 谢谢 2018-03-21 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...
来源: Laya_社区 发布时间: 20180321
如何取消监听 取消监听off需要指定监听函数,但是我在设置监听是如下写的: class a {_EventMgr.on("xxx", () => {this.xxx();}); } _EventMgr是一个全局的监听类,在class a中设置监听并处理,但我删除这个a的实例并重新创建,发现触发事...
来源: Laya_社区 发布时间: 20171012
...么移除? 是不是自己内部处理的? 需要类型跟 on 一样 off ,有其他方法移除? 2018-10-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: off 或者 clearall 2018-...
来源: Laya_社区 发布时间: 20181029
...destroy event getContext getMemSize getTexture hasListener isCreateFromURL off offAll offAllCaller on once release size toBase64 toBase64Async destroyUnusedResources Constructors constructor new HTMLCanvas(createCanvas?: boolean): HTMLCanvas Overrides Resource.__constructor Defined in laya/resource/...
来源: Laya3.0_api 发布时间: 20231115
...extureRes clearUnLoaded create decodeBitmaps event getRes hasListener load off offAll offAllCaller on once setGroup Constructors constructor new LoaderManager(): LoaderManager Defined in laya/net/LoaderManager.ts:72 创建一个新的 LoaderManager 实例。 注意:请使用Laya.loader加载资源...
来源: Laya3.0_api 发布时间: 20231102
...tcher(); e.on("test", this, this.test1); e.on("test", this, this.test2); e.off("test", this, this.test1); e.off("test", this, this.test2); console.log(e.hasListener("test")); ---------------------------------------- 输出:true 2018-04-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20180423