大约有 308 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0077 秒)
.../display/Sprite.ts:1654 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Returns boolean Inherited from AnimationBase.mouseEnabled Defin...
来源: Laya3.0_api 发布时间: 20231102
...cket cleanSocket():void 清理Socket:关闭Socket链接,关闭事件监听,重置Socket Socket close():void 关闭连接。 Socket connect(host:String, port:int):void 连接到指定的主机和端口。 连接成功派发 Event.OPEN 事件;连接失败派发 Event.ERROR 事件;...
来源: Laya2.0_api 发布时间: 20190513
.../display/Sprite.ts:1654 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Returns boolean Inherited from AnimationBase.mouseEnabled Defin...
来源: Laya3.0_api 发布时间: 20231102
...后的回调onLoaded里,我们保留初次显示UI的逻辑。将按钮监听,以及页面切换等逻辑放到b.ts里。 分出的b.ts代码如下所示: ```javascript /** * 分包 */ module subpackage{ export class b{ private GameMain:any; private ui:any; constructor(){ //监听按钮btnA的...
来源: Laya2.0_文档 发布时间: 20210715
.../display/Sprite.ts:1709 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Returns boolean Inherited from Text.mouseEnabled Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
.../display/Sprite.ts:1709 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Returns boolean Inherited from Text.mouseEnabled Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...
来源: laya_api 发布时间: 20170929
.../display/Sprite.ts:1709 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Returns boolean Inherited from Text.mouseEnabled Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
... 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
... 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