大约有 697 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0051 秒)
Laya_社区(344) Laya3.0_api(152) Laya2.0_api(96) laya_api(62) Laya2.0_文档(29) Laya3.0_文档(13) Laya2.0_示例(1)
...制回收。destroy后不能再使用。 destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。 MeshSprite3D destroyChildren():void 销毁所有子对象,不销毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件...
来源: laya_api 发布时间: 20170929
...offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Even...
来源: Laya2.0_api 发布时间: 20190513
...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_示例 发布时间: 20251209
...制回收。destroy后不能再使用。 destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。 BaseCamera destroyChildren():void 销毁所有子对象,不销毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。...
来源: Laya2.0_api 发布时间: 20190513
...(不变形),剩下的高度部分需要自己处理 第三步、监听引擎 RESIZE 事件,在这个里面对顶部、底部对齐的所有UI的Y轴坐标及高度进行调整 Laya.stage.on(Laya.Event.RESIZE, this, this.onResize); 调整方法为,根据IDE里该UI的对齐模式相应...
来源: Laya_社区 发布时间: 20180404
...offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Even...
来源: Laya2.0_api 发布时间: 20190513
... 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
...谢 2017-09-19 0 1 分享 微博 QZONE 微信 bingqimao 赞同来自: 1. 监听MouseDown事件 2. 当MouseDown的时候,记录鼠标的初始xy坐标,飞机的初始xy坐标 3. 并且每一帧得到鼠标当前的坐标, 然后可以算出鼠标当前坐标和初始坐标的差值,飞机的初...
来源: Laya_社区 发布时间: 20170902
...offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Even...
来源: Laya2.0_api 发布时间: 20190513
...制回收。destroy后不能再使用。 destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。 Sprite3D destroyChildren():void 销毁所有子对象,不销毁自己本身。 Node disableLight():voidTerrain event(type:String, data:* = n...
来源: Laya2.0_api 发布时间: 20190513