• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 305 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0048 秒)

141. laya.ui.HSlider [ 61%]

...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...

来源: laya_api 发布时间: 20170929

142. 微信小游戏分包实战(JavaScript-小游戏适配文档-微信小游戏) [ 61%]

...毁当前页面与添加aUI页面到舞台的逻辑shouUI在主包,二是监听鼠标事件的触发函数showB也在主包。 分出的b.js代码如下所示: ```javascript //显示A页 function showA() { showUI(aUI,UI) //监听按钮btnA的点击事件,触发后处理 UI.btnA.on(Laya.Event.C...

来源: Laya2.0_文档 发布时间: 20210715

143. laya.display.Input [ 61%]

...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...

来源: Laya2.0_api 发布时间: 20190513

144. 【简单跑酷--JS版】---Lv.3 添加地板 [ 61%]

...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

145. laya.components.AnimatorState2D_API3.0 [ 60%]

... 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

146. laya.device.motion.Accelerator [ 60%]

...offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher  on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 侦听加速器运动。 Accelerator once(type:String, caller:*, listener:Function, args:Array = null):Event...

来源: Laya2.0_api 发布时间: 20190513

147. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 60%]

... 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 发布时间: 20231102

148. laya.resource.Resource_API3.0 [ 60%]

... 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

149. laya.media.SoundChannel_API3.0 [ 60%]

... 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

150. 2.x引擎项目升级指南 · LayaAir3.0文档 · LAYABOX [ 60%]

...理系统的特性有: 3.1 2D和3D统一接口, 都可以通过事件监听方式和Laya.Script命名函数方式处理输入。例如: this.aNode.on(Laya.Event.CLICK, ()=> { console.log("clicked"); }); class MyScript extends Laya.Script { //脚本事件 onMouseClick(e:Event) { console.log(...

来源: Laya3.0_文档 发布时间: 20230406