大约有 426 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0065 秒)
...是为什么? 已上传 Demo 附件 TextInput重写onFocus和onBlur事件监听不到 Texture图片能否进行翻转? 图集打包找不到图集文件 如何获取图片每个像素点的RGB? 本地调试加载本地图片都报错 我用list.array=Array;数据全部插进去数组里了,...
来源: Laya_社区 发布时间: 20200922
... 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
...适合写一些只执行一次的逻辑,比如资源加载,节点事件监听 onOpen在页面每次打开都会执行,适合做一些每次都需要处理的事情,比如消息请求,根据数据初始化页面 onClose在每次关闭的时候调用,适合关闭时停止动画,网络消...
来源: laya_api 发布时间: 20170929
...同来自: 你好: 判断横竖屏很简单,你可以给你的舞台监听一个resize事件,当舞台发生变化时会触发!判断当前可视区域的width和height,当width<height时为竖屏,当width>height时为横屏 2016-11-08 0 3 分享 微博 QZONE 微信 为什么被...
来源: Laya_社区 发布时间: 20161108
...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...
来源: Laya2.0_api 发布时间: 20190513
...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...
来源: Laya2.0_api 发布时间: 20190513
...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...
来源: 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 发布时间: 20231115
...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...
来源: Laya2.0_api 发布时间: 20190513
...te 默认不接受鼠标事件,即mouseEnabled=false,但是只要对其监听任意鼠标事件,会自动打开自己以及所有父对象的mouseEnabled=true。所以一般也无需手动设置mouseEnabled。 LayaAir引擎API设计精简巧妙。核心显示类只有一个Sprite。Sprite针...
来源: Laya2.0_api 发布时间: 20190513