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

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

201. mac安装layanative失败!!! [ 78%]

...'proxy' config is set properly. See: 'npm help config' npm ERR! A complete log of this run can be found in: npm ERR! /Users/XJP/.npm/_logs/2018-01-17T08_47_16_781Z-debug.log 2018-01-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

202. [LayaAir3]Laya.Slider 的结束拖拽的事件监听 怎么写, [ 78%]

...his.owner.bar.on(Laya.Event.MOUSE_UP, () => {             console.log("aaa");         })     } 2025-07-11 0 1 分享 微博 QZONE 微信 Archangelᴱᴿᴵᑦ 赞同来自: this.owner.on(Laya.Event.CHANGE, this, () => { console.log("在拖着"); }); this.owner.on(Laya.Event.CHANGED...

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

203. 音频在设置音量大小scale=0时SoundManager无法回调, 并且阻塞所有laya本身的callback [ 78%]

...undManager.playSound("XXX", this, ()=>{             console.log('触发1');             Laya.timer.scale = 0;             SoundManager.playSound("XXX", this, ()=>{                 console.log('触发2');                 SoundM...

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

204. 二次开发(TypeScript-LayaNative原生服务-LayaNative进阶) [ 78%]

...列函数: ```javascript public static String testString(String value) { Log.d("JSBridge", "java: " + value); return "LayaBox"; } public static double testNumber(double value) { Log.d("JSBridge", "java: " + value); return 512; } public static boolean testBool(boolean value) { Log.d("JSBridge", "java...

来源: Laya2.0_文档 发布时间: 20210714

205. 没有预加载的图片怎么获取width和height ? [ 78%]

...sets/comp/image.png");     Laya.stage.addChild(older);     console.log(older.scaleX,older.scaleY,older.rotation,older.x,older.y, older.width,older.height,older.getBounds().width,older.getBounds().height);      older.scale(2,2);     console.log(older.scaleX,older.scaleY,older.rotation...

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

206. 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

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

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

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

208. 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

209. [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

210. 关于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