大约有 3,270 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0079 秒)
Laya_社区(2756) Laya3.0_api(232) laya_api(121) Laya2.0_api(111) Laya2.0_文档(30) Laya3.0_文档(17) Laya_示例(2) Laya2.0_示例(1)
...使侦听器能够接收事件通知,此侦听事件响应一次后自动移除。 EventDispatcher pause():void 暂停整个动画。 TimeLine play(timeOrLabel:* = 0, loop:Boolean = false):void 播放动画。 TimeLine removeLabel(label:String):void 移除指定的标签 TimeLine reset...
来源: laya_api 发布时间: 20170929
...rseComplete); this.mArmature.removeSelf();//从显示列表移除龙骨动画本身 this.mArmature.removeChildren();//从显示列表移除龙骨动画子对象 if (!this.mArmature.destroyed) { this.mArmature.destroy(true); ...
来源: Laya_社区 发布时间: 20200618
.... 闫小米R • 2020-08-19 11:03 经过测试 只要把我这个B从舞台移除就没问题了 然后看API说 B作为遮罩时 B的位置会作为A的相对位置计算 所以最优的做法就是B作为A的子级设置好B的坐标,在设置A.mask=B后再移除B. 就是搞不明白为啥B在舞...
来源: Laya_社区 发布时间: 20200813
...rs Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/events/Event...
来源: Laya3.0_api 发布时间: 20231115
...所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦...
来源: Laya2.0_api 发布时间: 20190513
...动来做飘字效果,完成回调的时候,把飘字对象在场景上移除,结果执行次数很多之后,发现场景上有许多飘字并没有被移除,有没有可能是缓动没执行到完成回调函数呀? 2017-04-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20170426
...oid[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等待js自动垃圾回收机制回收。destroy后不能再使用。 destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。 L...
来源: laya_api 发布时间: 20170929
...所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 侦听加速器运动。 Accelerator once(type:String, caller:*, listene...
来源: Laya2.0_api 发布时间: 20190513
...rs Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/events/Event...
来源: Laya3.0_api 发布时间: 20231115
...所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦...
来源: Laya2.0_api 发布时间: 20190513