大约有 139 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0075 秒)
Laya2.0_api(57) laya_api(53) Laya_社区(20) Laya3.0_文档(5) Laya3.0_api(2) Laya2.0_文档(1) Laya2.0_示例(1)
...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知,此侦听事件...
来源: laya_api 发布时间: 20170929
...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node o...
来源: Laya2.0_api 发布时间: 20190513
...,尤其是循环处理,当无需使用时,一定要及时回收,或停止循环。 LayaAir提供两种计时器循环来执行代码块。 Laya.timer.frameLoop执行频率依赖于帧频率,可通过Stat.FPS查看当前帧频。 Laya.timer.loop执行频率依赖于参数指定时间。 Lay...
来源: Laya3.0_文档 发布时间: 20251010
...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node o...
来源: Laya2.0_api 发布时间: 20190513
...。clip.total="+ clip.total); if (clip.isPlaying == true) { clip.stop();//停止动画。 }else { clip.play();//播放动画。 } } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 var clip; Laya.loader.load("resource/ui/clip_num...
来源: Laya3.0_api 发布时间: 20231115
...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知,此侦听事件...
来源: laya_api 发布时间: 20170929
...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知,此侦听事件...
来源: laya_api 发布时间: 20170929
...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node o...
来源: Laya2.0_api 发布时间: 20190513
...我们只要设置一下Config.isPause 就可以控制背景和地板是否停止运动了 同时还可以动态去改变Config.speed 来改变加速度 (因为我们这个游戏比较小 所以采用这种全局静态变量来达到我们需要的效果 如果是比较复杂的游戏 可能做法...
来源: Laya_社区 发布时间: 20160803