大约有 246 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0057 秒)
...说一下思路?或者上完成的代码? LoseFocus(){ console.log("失去焦点") this.NowPlayMusic.stop(); } GetFocus(){ console.log("获取焦点"); Laya.SoundManager.stopMusic(); Laya.SoundM...
来源: Laya_社区 发布时间: 20200220
...r.getUserGold(); if(gold > 500){ Online.joinGame().then(function(data){ console.log(data); StorageHelper.setDeskNo(data.desk.deskNo); StorageHelper.setDeskSeat(data.ownSeatNo); Laya.stage.destroyChildren(); var playSence = new OnlinePlaySence(data); Laya.stage.addChild(playSence); },function(data...
来源: Laya_社区 发布时间: 20171219
...@param e 事件对象 */ private onHttpRequestError(e: any = null): void { console.error("请求失败:", e); this.logger.text = "请求失败,请重试。\n"; } /** * 请求进度改变触发的回调 * @param e 事件对象 */ private onHttpRequestProgress(e: any = null): void { //进度的百...
来源: Laya3.0_文档 发布时间: 20251010
...adapter process has terminated unexpectedly layabox ide 无法调试 ,console.log 打印无效,不知道是什么情况! 附件 : --> 2017-01-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 emoonight ...
来源: Laya_社区 发布时间: 20170118
...配置 var equipDataArray = Laya.LocalStorage.getJSON('equipDataArray'); console.log('equipDataArray ', equipDataArray, ' |'); if (equipDataArray === null) { equipDataArray = [ { icon: 'img/weapon/gun0.png', weaponIndex: 0, weaponGrade: 1 }, { icon: 'img/weapon/gun1.png', weaponIndex: 1, weaponGrade...
来源: Laya_社区 发布时间: 20190916
...018-09-17 0 4 分享 微博 QZONE 微信 伯恩 赞同来自: Ts 语言的 console.log('没有用了');???????????????? 2018-09-17 0 1 分享 微博 QZONE 微信 dcxin 赞同来自: compile.js编译脚本里把sourcemap设为true。 2019-08-14 0 0 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20180917
...ay,this.enemyHit)) { console.log("enemyHit->",this.enemyHit); var _enemy=this.enemyHit.collider.owner as Laya.Sprite3D; if(_enemy.layer==6) { ...
来源: Laya_社区 发布时间: 20231120
...tPos.z + (2.5 - Math.random() * 5)); console.log('----------------goldnode', goldNode); this.playerGoldArr.push(goldNode); goldNode.addComponent(goldItemNode); 报错信息: Uncaught TypeEr...
来源: Laya_社区 发布时间: 20200326
...游戏 this.StartLeft.on(Laya.Event.CLICK,null,function(){ //TO GamePage2 console.log("left onclick"); Laya.stage.addChild(new GameView); }); //分享快乐 this.StartRight.on(Laya.Event.CLICK,null,function(){ //超链接 onLink(href); }); //天猫Logo this.img_TianMao.on(Laya.Event.CLICK,null,f...
来源: Laya_社区 发布时间: 20180810
...is, onLoading, null, false)); //加载进度 function onLoading(progress){ console.log("onLoading: " + progress); } //加载完毕 function onLoaded(){ console.log("onLoaded"); } 我们刷新页面看看有什么效果 如下图所示 我们看到 图片加载了 而且也有我们打印出来的加...
来源: Laya_社区 发布时间: 20160722