大约有 687 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0042 秒)
Laya_社区(339) Laya3.0_api(152) Laya2.0_api(96) laya_api(62) Laya2.0_文档(29) Laya3.0_文档(8) Laya2.0_示例(1)
...老版本的淘宝适配库需要配合注释掉 laya.tbmini.js 里 以下监听: Laya.stage.on("resize", null, MiniInput._onStageResize); 2020-10-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 1603252586用户 相关问题 请问...
来源: Laya_社区 发布时间: 20201021
...offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Even...
来源: Laya2.0_api 发布时间: 20190513
...。 ![](img/1.png)(图1) ```typescript { //在舞台上添加鼠标事件监听 Laya.stage.on(Laya.Event.MOUSE_DOWN,this, this.onMouseDown); } //点击触发事件 onMouseDown() { //记录点击到舞台上的点 this.point.x = Laya.MouseManager.instance.mouseX; this.point.y = Laya.MouseManager.inst...
来源: Laya2.0_文档 发布时间: 20210715
...。 ![](img/1.png)(图1) ```typescript { //在舞台上添加鼠标事件监听 Laya.stage.on(Laya.Event.MOUSE_DOWN,this, this.onMouseDown); } //点击触发事件 onMouseDown() { //记录点击到舞台上的点 this.point.x = Laya.MouseManager.instance.mouseX; this.point.y = Laya.MouseManager.inst...
来源: 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
...。 ![](img/1.png)(图1) ```typescript { //在舞台上添加鼠标事件监听 Laya.stage.on(Event.MOUSE_DOWN,this, onMouseDown); } //点击触发事件 private function onMouseDown():void { //记录点击到舞台上的点 point.x = MouseManager.instance.mouseX; point.y = MouseManager.instance.mou...
来源: Laya2.0_文档 发布时间: 20210715
...到舞台的3D模型不显示贴图 TextInput重写onFocus和onBlur事件监听不到 Animation如何加点击事件 关于使用matterjs物理引擎鼠标问题 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 请问下加载TFF字体要怎么加载呢...
来源: Laya_社区 发布时间: 20170312
... 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
...来自: Event是否在顶部声明了Laya.Event? 如果没有声明,监听事件都需要 Laya.Event.COMPLETE Laya.Event.ERROR Laya.Event.PROGRESS 2018-08-30 0 0 分享 微博 QZONE 微信 曹晓舟_17707314770 赞同来自: 奇怪,为什么我的不可以? layaIDE 版本号,1....
来源: Laya_社区 发布时间: 20180830
...听(A页面派发 B页面侦听) TextInput重写onFocus和onBlur事件监听不到 关于遍历产生的sprite的点击事件,急,大神帮看哈 Animation如何加点击事件 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 微信...
来源: Laya_社区 发布时间: 20180410