大约有 49 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0070 秒)
.../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
.../display/Sprite.ts:1709 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Returns boolean Inherited from Text.mouseEnabled Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
...a.transform.localRotation = this.camera.transform.localRotation; } } /** * 监听鼠标事件 */ onAwake(): void { Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); this.camera = (<Laya.Camera>this.owner); } /** * 监听键盘...
来源: Laya3.0_文档 发布时间: 20240624
.../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
...s.player.x = 32 * 8; this.player.y = 32 * 4; this.addChild(this.player); //监听 按下 弹起 事件 Laya.stage.on(laya.events.Event.MOUSE_DOWN, this, this.onMouseDown); //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } _proto.onLoop = function(){ // 检测人物是...
来源: Laya_社区 发布时间: 20160801
.../display/Sprite.ts:1709 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Returns boolean Inherited from Text.mouseEnabled Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
...t', (event) => { // event.code 会是下面其中一个: // START — 监听器正在启动(重启) // BUNDLE_START — 构建单个文件束 // BUNDLE_END — 完成文件束构建 // END — 完成所有文件束构建 // ERROR — 构建时遇到错误 // FATAL — 遇到无可修复的...
来源: Laya_社区 发布时间: 20201223