大约有 1,012 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0063 秒)
...o了,直接浏览器控制台输入 Laya.loader.load("aa").then(res=>{console.log("success",res)}).catch(res=>{console.log("fail",res)}) 期望返回失败 实际返回成功 附件 : --> 2023-09-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20230904
...成功!"); e.clearSelection(); }); clipboard.on('error', function(e) { console.log("复制失败!",e); }); 2018-06-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Laya_Aaron 赞同来自: 这个就是用原...
来源: Laya_社区 发布时间: 20180626
...o.visible = true; gameex.bar.destoyRankSprite() this.nCountDown = 15; // console.log(gameex.snakeSelf) } }) //暂停 GameEx.prototype.pause = function () { console.log("停止播放音乐") Laya.SoundManager.stopMusic(); //停止游戏主循环 Laya.timer.clear(this, this.onLoop); //移除...
来源: Laya_社区 发布时间: 20180514
... code= res.code; console.log("登陆成功,获取到code") } var button = wx.createUserInfoButton( { type: 'text', ...
来源: Laya_社区 发布时间: 20180911
...例,但发觉Main不存在的。 我分别在两个文件里加上了console.log("Main"), console.log("game"),发现game.js是执行比Main.js早的,所以出现Main不存在的错误 2018-06-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20180602
...omplete(): void { this.wayPoints = Laya.loader.getRes("zxc.json") as JSON; console.log(this.wayPoints.name); //这里会报name 不存在 } 第二种方式 Laya.loader.load("zxc.json", Laya.Handler.create(this,function(){ this.wayPoints = Laya.loader.getRes("zxc.json") as JSON; console.log(this.wayP...
来源: Laya_社区 发布时间: 20180119
...ctor() { wx.onMessage(data => { console.log(data); if (data.isDisplay) { wx.getFriendCloudStorage({ success: res => { ...
来源: Laya_社区 发布时间: 20180507
...ontName; this._defaultFont = fontName; console.log("小游戏字体加载成功->" + fontName);//成功走到这里了 但是UI没效果 } else { console.error("小游戏字体加载失败 字体路径=" + nativePath); ...
来源: Laya_社区 发布时间: 20240513
...谢谢? const scene = new Laya.Scene(); scene.onOpened = () => { console.log('scene onOpened'); }; scene.open(); console.log('scene', scene.active, scene.activeInHierarchy); Laya.timer.frameOnce(10, this, () => { console.log('scene 2', scene.active, scene.activeInHierarchy); }); 日...
来源: Laya_社区 发布时间: 20190422
...tSubPixels画布擦除不掉 this.btn.label = Math.random().toString(); // console.log(Math.random()); let tex:Laya.Texture = Laya.Loader.getRes(this.bUrl); let x:number = this._testStatus == true ? 0:50;//Math.random()>0.5 ? 50 : 0; this._testStatus = !this._testStatus; // let canvasInfo = this....
来源: Laya_社区 发布时间: 20230328