大约有 151 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0060 秒)
...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
... 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
...的链接 提交 2 个回复 Laya_Aaron 赞同来自: on(Event.MOUSE_DOWN,this,onClick); 试一下吧 onclick 函数里再打印log 2017-12-13 0 10 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 这个进度条 var 为pro 另外一张图的类继承了之前页面发布生成的类,直接...
来源: Laya_社区 发布时间: 20171213
...调用这一句,否则显得不正规; 例如在 onAwake 的第一行. this.Gbox_list.setVirtual(); 其次对于virtual list, 相当于在复用cell, 逻辑上100行的,实际上是在反反复复就重复用那几个. 因此你 on(xxx....) 这种语法,如果滚动后发生cell复用,相...
来源: Laya_社区 发布时间: 20251021
...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
...ble(): void { console.log("IndexRT onEnable") //侦听ui按钮点击事件 this.uiBtn.on(Laya.Event.CLICK, this, () => { //点击后,打开UI场景示例 console.log("uiBtn"); Laya.Scene.open("scenes/UiMain.ls"); }); //侦听物理按钮点击事件 this.phyBtn.on(Laya.Event.CLICK, this, () =&g...
来源: Laya3.0_文档 发布时间: 20251010
....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
关于checkbox全选的问题 invite.cb_all.on("change",this,function():void{ if(invite.cb_all.selected){ trace("全选"); }else{ trace("取消全选"); } },[cb_all])以上是关于底部ckeckbox的监听函数,想实现全部选择和全部取消的功能,试了很多方法都不行,请教有没...
来源: Laya_社区 发布时间: 20171019
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
...usic/Music_start.mp3", Laya.Handler.create(this, this.onLoadFinished)); } onLoadFinished() { Laya.SoundManager.playMusic("res/music/Music_start.mp3", 1); } } new GameMain(); -------------------------------------------------------...
来源: Laya_社区 发布时间: 20170105