大约有 71 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0063 秒)
...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...
来源: laya_api 发布时间: 20170929
... 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
...运行时,报错,说_template为null。 如果不调用动画,只是监听事件,没有错误 于是考虑,应该是加载sk完成前,就调用动画导致 因此,在最开始用Laya.loader.Load(["drgon.sk"]......)这样的方式预加载 !!!结果,预加载时报错,就是...
来源: Laya_社区 发布时间: 20180622
...听(A页面派发 B页面侦听) TextInput重写onFocus和onBlur事件监听不到 关于遍历产生的sprite的点击事件,急,大神帮看哈 骨骼动画播放完后的回调时间 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. Animation如何加点击事件 ev...
来源: Laya_社区 发布时间: 20201203
...鼠标是否处于按下状态”? TextInput重写onFocus和onBlur事件监听不到 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket 图集打包找不到图集文件 Animator 如何获取当前所有动画名称呢?或...
来源: Laya_社区 发布时间: 20180816
.../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 鼠标事件与此对象...
来源: 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