大约有 166 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0150 秒)
...们考虑后,不建议您这样来操作对象,您可以在sp3上添加监听来进行销毁,而不是在sp1的逻辑内销毁sp3操作;如果确实有这方面的需求的话,建议您在遍历中进行容错处理来避免这个问题。 zyy • 2021-11-08 19:40 test对象被移除,testS...
来源: Laya_社区 发布时间: 20211105
...9.3 快捷键总结十、使用动画事件10.1 属性设置10.2 脚本中监听时间轴动画编辑详解 Author:charley LayaAir IDE的时间轴动画编辑器,适用于2D与3D动画的编辑。 本篇中的功能介绍,如果是2D与3D通用的操作,默认以3D为例进行说明,如果...
来源: Laya3.0_文档 发布时间: 20260128
...循环播放 this.btn.on(Laya.Event.CLICK, this, this.changeAttachment); //监听点击事件,触发切换武器的方法 //以下基础设置可以在IDE里设置,这样代码就不用添加了,此处仅为演示代码使用方式 //设置外部皮肤对象 this.spine.externalSkins = [this.we...
来源: Laya3.0_文档 发布时间: 20260131
...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
...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
.../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
...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...
来源: laya_api 发布时间: 20170929