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

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

211. layabox加载fairygui发布的二进制文件报错 [ 78%]

...  ], Laya.Handler.create(this, this.onLoaded));   Laya.core.js   调试log __proto._endLoad=function(resInfo,content){ var url=resInfo.url; //输出//////////////////////////////// console.log("url:"+url); content==null?console.log("content null"):console.log("content not null"); //输出///////...

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

212. 横竖屏设置 · LayaAir3.4 · 引擎文档 · LAYABOX [ 78%]

... conch.setDeviceOrientation({ value: value, success: function () { console.log("success"); }, fail: function () { console.log("fail"); }, complete: function () { console.log("complete"); }, }); Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2026-01-28 15:12:31...

来源: Laya3.0_文档 发布时间: 20260128

213. 微信小游戏提审后,提示说代码侵权 [ 78%]

...要用不同主体,拿就混淆代码,,这里有个文章:https://blog.csdn.net/linguifa ... 87065 2020-07-18 0 0 分享 微博 QZONE 微信 187*****978 赞同来自: *文章的意图为解决工作中遇到的问题,请开发者把技术用到正确的方向** 文章原文 https://blog.cs...

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

214. Laya.Pool.getItemByClass 找不到上次释放的对象 [ 78%]

....Pool.getItemByClass("mybg",BackGround); Laya.stage.addChild(bg1); console.log("bg1->",bg1); //对象放回Pool里,并清除对象 Laya.Pool.recover("mybg",BackGround); bg1.removeSelf(); Laya.stage.removeChild(bg1); console.log("bg1->",bg1); //再次从Pool里获取对象的时候,就报...

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

215. [LayaAir3]Laya.loader.loadPackage加载分包,如果判断成功与失败 [ 78%]

...der.loadPackage("sub1111").then(() => {                 console.log('pack sub1 loaded');                 new Subpack1().init();             }, (err) => {                 console.log('pack sub1 error', err);             }); 2025-09-09 添加评论 免费帖 -...

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

216. 关于Sprite回收 [ 78%]

... for(var i = 0; i < this.numChildren; i++) {             console.log(this.numChildren);             var item = this.getChildAt(i);             if(item instanceof Item) {                 item.removeSelf();                 item.visible = true;               ...

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

217. module写法的模块无法使用,其他地方使用会报错 [ 78%]

...方使用会报错 module bili{ export class Test{ constructor(){ console.log("Test"); } } } 2018-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 7 个回复 牛唠叨 赞同来自: Chiuan 其实就是那个2.0的啥gulp...

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

218. 修改position与修改localPosition结果不一致(同处于3d场景下的两个节点) [ 78%]

...orm.localPositionX += 0.016; res2.transform.position.x += 0.016;  console.log("本地坐标1:", res1.transform.localPosition); console.log("世界坐标1:", res1.transform.position); console.log("本地坐标2:", res2.transform.localPosition); console.log("世界坐标2:", res2.transform.position);...

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

219. 请问在2.0版本的js中,如何获取mouse_move的鼠标坐标 [ 78%]

...s.onmousemove); apesCtn.addChild(img); ........ onmousemove(e) { //console.log("e="+JSON.stringify(e)); for (var property in e) { console.log(property+"="+e[property]); } console.log("========================"); /**这里是运行后,在img上拖动给出的属性,没有鼠标的xy的坐标 * * ...

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

220. 人物行走图动画 [ 78%]

...位:毫秒)  ani.index = 0;     // 当前播放索引  console.log(ani.index);  ani.play();       console.log(ani.index);  var bounds = ani.getGraphicBounds();  ani.pivot(bounds.width / 2, bounds.height / 2);    ani.pos(Laya.stage.width / 2, Laya.stage.height / 2);  console.log(...

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