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

大约有 27 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0043 秒)

1. js飞机大战报错 请大神看看 [ 100%]

...ll.js文件 里面的组件名正确  layaUI.max.all.js:          this.pauseBtn=null;          this.hpLabel=null;          this.levelLabel=null;          this.scoreLabel=null;          this.infoLabel=null; GameInfo.js: var GameInfo = (function (_super) {   ...

来源: Laya_社区 发布时间: 20171118

2. replaceSlotSkinName对于spine换肤不成功 [ 90%]

... m_templet : Laya.Templet; constructor() { Laya.init(1334,750,Laya.WebGL); this.m_templet = new Laya.Templet(); this.m_templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.m_templet.on(Laya.Event.ERROR,this,this.onError); this.m_templet.loadAni("res/spine/goblins/goblins.sk"); } private o...

来源: Laya_社区 发布时间: 20180126

3. 通过laya设计模式制作的,要怎么给按钮绑定事件呢? [ 89%]

...的链接 提交 2 个回复 Laya_Aaron 赞同来自: on(Event.MOUSE_DOWN,this,onClick); 试一下吧  onclick 函数里再打印log 2017-12-13 0 10 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 这个进度条 var 为pro 另外一张图的类继承了之前页面发布生成的类,直接...

来源: Laya_社区 发布时间: 20171213

4. [LayaAir3]GList点击出现连续点击问题 [ 89%]

...调用这一句,否则显得不正规; 例如在 onAwake 的第一行. this.Gbox_list.setVirtual();   其次对于virtual list, 相当于在复用cell, 逻辑上100行的,实际上是在反反复复就重复用那几个. 因此你 on(xxx....) 这种语法,如果滚动后发生cell复用,相...

来源: Laya_社区 发布时间: 20251021

5. 如何使用javascript版本的加载模式 [ 88%]

...ad([ { url: config.layerUIJson, type: Laya.Loader.JSON } ], Handler.create(this, function () { this.gameScenes = new ui.layer.gameScenesUI(); this.addChildren(this.gameScenes); })); 但页面上却没有任何内容显示出来!求教!!我看了论坛里面的教程:https://ask.layabox.com/q...

来源: Laya_社区 发布时间: 20171012

6. 苹果上架有问题啊 , !!!!!! [ 86%]

....5.2 and section 3.3.2 of the Apple Developer Program License Agreement. This code, combined with a remote resource, can facilitate significant changes to your app’s behavior compared to when it was initially reviewed for the App Store. While you may not be using this functionality currently, it...

来源: Laya_社区 发布时间: 20171221

7. 关于checkbox全选的问题 [ 86%]

关于checkbox全选的问题 invite.cb_all.on("change",this,function():void{ if(invite.cb_all.selected){ trace("全选"); }else{ trace("取消全选"); } },[cb_all])以上是关于底部ckeckbox的监听函数,想实现全部选择和全部取消的功能,试了很多方法都不行,请教有没...

来源: Laya_社区 发布时间: 20171019

8. Laya.Handler为什么注册不成功? [ 85%]

Laya.Handler为什么注册不成功? this.scrollView.mouseHandler = Laya.Handler.create(this,this.onScrollMouse) this.scrollView.mouseHandler = new Laya.Handler(this, this.onScrollMouse);我在scrollView中有个mouseHandler的Laya.Handler变量,想直接注册到这个变量上,但是两种...

来源: Laya_社区 发布时间: 20180814

9. playSound和playMusic结束时候有异常抛出 [ 84%]

...usic/Music_start.mp3",                      Laya.Handler.create(this, this.onLoadFinished));     }     onLoadFinished()     {         Laya.SoundManager.playMusic("res/music/Music_start.mp3", 1);     } } new GameMain();   -------------------------------------------------------...

来源: Laya_社区 发布时间: 20170105

10. layacmd 安装不成功 [ 83%]

... have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the electron package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get information on how to open an issue...

来源: Laya_社区 发布时间: 20171124