大约有 308 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...
来源: laya_api 发布时间: 20170929
...毁当前页面与添加aUI页面到舞台的逻辑shouUI在主包,二是监听鼠标事件的触发函数showB也在主包。 分出的b.js代码如下所示: ```javascript //显示A页 function showA() { showUI(aUI,UI) //监听按钮btnA的点击事件,触发后处理 UI.btnA.on(Laya.Event.C...
来源: Laya2.0_文档 发布时间: 20210715
...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...
来源: Laya2.0_api 发布时间: 20190513
...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...
来源: laya_api 发布时间: 20170929
...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...
来源: Laya2.0_api 发布时间: 20190513
...aya.timer.frameLoop(1, this, this.onLoop); } _proto.onLoop = function(){ //监听有没有地板要移除 while(this.dieFloorList.lenght > 0){ var floor = this.dieFloorList.shift(); floor.removeSelf(); } } /** * 增加地板 */ _proto.addFloor = function(){ var floor = new Floor(); floor.init(); ...
来源: Laya_社区 发布时间: 20160728
...个方法分别用于主域向开放数据域发送消息和开放数据域监听主域发送的消息。 在Scene2D节点上添加一个自定义组件脚本,脚本中设置的代码如下所示: const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { //组件...
来源: Laya3.0_文档 发布时间: 20251010
... 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
...offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 侦听加速器运动。 Accelerator once(type:String, caller:*, listener:Function, args:Array = null):Event...
来源: 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