大约有 283 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0141 秒)
Laya2.0_api(85) laya_api(80) Laya3.0_api(58) Laya_社区(42) Laya2.0_文档(7) Laya3.0_文档(7) Laya_示例(2) Laya2.0_示例(2)
...ll):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAwake():...
来源: Laya2.0_api 发布时间: 20190513
...ll):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite onAwake(...
来源: Laya2.0_api 发布时间: 20190513
...ll):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite once(typ...
来源: laya_api 发布时间: 20170929
...ll):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite once(typ...
来源: laya_api 发布时间: 20170929
...ll):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite onAwake(...
来源: Laya2.0_api 发布时间: 20190513
...oid { console.log("event1",p1,p2); } } 在脚本中创建event1的方法和接收两个参数,最后我们来运行动画,看看运行结果: (图10-4) Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2026-01-28 15:11:54 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20260128
...ll):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAsynLoad...
来源: laya_api 发布时间: 20170929
...er 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 EventDispatcher once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事...
来源: laya_api 发布时间: 20170929
...创建虚线,以及为线段设置材质和纹理,使得2D线也可以接收光照,拥有更加炫酷的线形状效果,例如绳索、渐变线、线段边框、线上的动态纹理等等。 注:基于性能考虑,Graphics可以实现的情况下,建议优先使用Graphics画线。 ...
来源: Laya3.0_文档 发布时间: 20251010
...相关属性 鼠标操作相关属性说明如下: 属性 功能说明 接收鼠标事件 MouseEnabled 设为true表示接受鼠标事件,设为false不接受鼠标事件(以下属性均将失效) 点击区域 Hit Area 点击区域,自定义区域只支持圆形、矩形、多边形 鼠标...
来源: Laya3.0_文档 发布时间: 20251010