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

大约有 1,546 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0068 秒)

31. 微信小游戏wxmin图片加载有点问题 [ 89%]

...yFile({srcPath:tempFilePath,destPath:saveFilePath,success:function (data){ console.log(data, fileObj) if (!fileObj){ MiniFileMgr.onSaveFile(readyUrl,tempFileName); callBack !=null && callBack.runWith([0]); }else { console.log(fileObj.readyUrl == readyUrl, 'zhege') if (fileObj.readyUrl !=read...

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

32. VSCODE高效再+1,自动刷新 [ 89%]

...s = exec("layaair2-cmd compile"); process.stdout.on("data", (data) => { console.log(data); }); process.stderr.on("data", (data) => { console.error(data); }); process.on("exit", (code, signal) => { console.log("success"); // console.log(code, signal); // 编译结束,触发reload,浏览...

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

33. 怎么把console.log输出到控制台,我的只有 时间轴,跟概览。mac 2.7.0base 版本。 [ 89%]

怎么把console.log输出到控制台,我的只有 时间轴,跟概览。mac 2.7.0base 版本。 附件 : --> 2020-06-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 kylin 赞同来自: 运行后才能看...

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

34. socket.sent [ 88%]

...; } private openHandler(event: any = null): void { //正确建立连接; console.log("建立"+event);//没有写出 } private receiveHandler(msg: any = null): void { ///接收到数据触发函数 console.log("收到"+msg);;//没有写出 console.log(msg);;//没有写出 } private closeHandler(e: ...

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

35. 资源回收的清理不干净的bug [ 88%]

...l.name = i.toString();             }             console.log("add finished: ", myscene.numChildren);                  for(var i=0; i<myscene.numChildren; i++){                 console.log(myscene.getChildAt(i).name)         ...

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

36. LayaNative2.0在AndrioidStudio的logcat无法显示JS下console.log打印的日志 [ 88%]

LayaNative2.0在AndrioidStudio的logcat无法显示JS下console.log打印的日志 LayaNative2.0在AndrioidStudio的logcat无法显示JS下console.log打印的日志   官方速度看下呀,没日志接sdk什么的好难调 2018-10-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

37. dialog 里的数据已经获取到了,也赋值了但是页面没跟新,addChild好像无效果 [ 88%]

...d: { skin: 'comp/food' + foodid + '.png' }, food_txt: { text: foodtxt } // console.log(); } } console.log('+++++++++++++++++++') console.log(_super); console.log(fooddata); self.foodList.dataSource = fooddata;  //实例化角色容器 var foodBox = new Laya.Sprite(); //添加到舞台上 console.lo...

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

38. tsconfig 中添加 "lib":["es5","es2015.promise"] ,之后无法引用lib.d.ts里面的内容,意味着console.log()都报错了 [ 88%]

...5","es2015.promise"] ,之后无法引用lib.d.ts里面的内容,意味着console.log()都报错了 打算在代码中使用async await 语法,需要引用es2015.promise,引用后,无法使用console.log,下面是配置文件: { "compilerOptions": { "module": "commonjs", "target": "es5", "n...

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

39. UI加载完成后无法获取控件的大小——超详细版问题 [ 88%]

...fitDOMElements_scroll); } private fitDOMElements(a, b, c, d, e, f): void { console.log("----------the event resize-------") console.log("ref-resize:", this.myref.getBounds()); console.log("pan-resize", this.mypan.getBounds()); } private fitDOMElements_scroll(a, b, c, d, e, f): void { console.log("--...

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

40. 三个图好像无法绑定不同的事件? [ 88%]

... Laya.stage.addChild(img1); img1.on(Laya.Event.CLICK,this, function(name){ console.log(name);},['图1']); var img2 = new Laya.Sprite(); img2.loadImage('https://layaair.ldc.layabox.com/demo/h5/res/apes/monkey2.png',200,300,90,90); Laya.stage.addChild(img2); img2.on(Laya.Event.CLICK,this, function(nam...

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