大约有 416 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0068 秒)
...使侦听器能够接收事件通知,此侦听事件响应一次后自动移除。 EventDispatcher releaseResource(force:Boolean = false):Boolean 释放资源。 Resource setUniqueName(newName:String):void 设置唯一名字,如果名字重复则自动加上“-copy”。 ResourceProtected M...
来源: laya_api 发布时间: 20170422
...质加载完成之后,给cube添加了脚本。并且在4秒后执行的移除脚本操作。 ```typescript /** * 创建后只执行,只会执行一次,此时所有节点和组件以及创建完毕 */ public override function onAwake():void {} /** * 脚本每次启动后执行,例如被添加...
来源: Laya2.0_文档 发布时间: 20210715
...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 发布时间: 20231102
...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
...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
...颜色,如何操作? 使用了u3D导出来的粒子,不停的显示移除并销毁其克隆对象,统计面板的显存和内存就会显示成负数 想让一个2D的图形被鼠标点击时缩放一下,或左右摇晃一下,最后回到原大小或原位置,应该用什么缓动模...
来源: Laya_社区 发布时间: 20171018
...侦听器能够接收事件通知,此侦听事件响应一次后则自动移除侦听。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite onClosed(typ...
来源: laya_api 发布时间: 20170929
...侦听器能够接收事件通知,此侦听事件响应一次后则自动移除侦听。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node removeAllCompone...
来源: laya_api 发布时间: 20170929
...所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知。 如果...
来源: 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