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

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

1091. ProgressBar属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 49%]

...value = 0; progressBar.value += 0.05; } function onChange(value) { console.log("进度:" + Math.floor(value * 100) + "%"); } })(); ```

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

1092. 我看到这段话后,我 [ 49%]

...et XValue(): number { return 100; } public set XValue(v: number) { console.log(v); } } var x = new XClass(); x["XValue"] = 100; 你运行一下看看呢、这能覆盖函数吗? ageazrael • 2019-08-05 15:22 dataSource你们代码写错了呀,限制属性不是function,那不是大...

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

1093. laya教程 [ 49%]

...ig.json中sourceMap属性为true   打开main.ts onConfigLoaded() console.log('helloworld');   F9打断点 LAYA中按 F8(编译)  VSCODE 中按f5(运行)     Laya实战大纲,Laya引擎,Laya教程,小游戏开发,h5 laya实战大纲,laya引擎,laya教程,小游戏开发,h5  typescr...

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

1094. layacmd 安装不成功 [ 49%]

...fo via: npm ERR! npm owner ls electron npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR npm ERR! code 1 2017-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

1095. UI内存泄漏 [ 49%]

...小游戏的内存和数据缓存? 关于优化求助思路,运行时log 内存500M多,IPhone6还是卡死 清理运行时不必要的内存问题 音乐播放来回切换导致内存泄露 内存释放问题 native环境下 获取游戏内存 logcat报错 内存回收问题 请问从远程网...

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

1096. 请问这是原因? [ 49%]

...le; flag.pos(deltaX,deltaY); //添加舞台 sprite.addChild(flag); console.log(point); } } } 2019-05-16 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 您把工程上传吧,版本也是不知道的,我直接在您工程上调试看。 2019-05-16 0 0 分享 微博 QZONE 微信 为什么...

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

1097. list组件在微信小游戏的上屏中点击定位不准 [ 49%]

...。我在上一页文本上增加了点击事件,click后应该console.log,但是现在没有反应。   study.rar附件是小游戏的demo。   gif附件是bug的录像。   附件 : --> study.rar 2018-04-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

1098. [LayaAir3]如何在3D场景添加文字呢 [ 49%]

...getComponent(Laya.UI3D); let ui3d_root: Laya.Sprite = ui3d.sprite; console.log("ui3d_root", ui3d_root); let txtField: Laya.GTextField = ui3d_root.getChildByName("txt"); txtField.text = "New String"; } } 2025-10-21 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问...

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

1099. 为何我加载spine的动画drawcall会那么高,shader的指标也很高 [ 49%]

...        private onError():void         {             console.log("load spine error");         }         private parseComplete():void         {             this.m_loadedUrlArr.push(this.m_curLoadingUrl);             this.buildAmature();         }         ...

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

1100. Texture2D.setPixels会导致图片质量变差了,获取原生的pixels没有进行改动。怎么回事呢? [ 49%]

...var uint8Array:Uint8Array = imageNode.source.bitmap.getPixels(); //console.log("0000000000000 == " + uint8Array.length); imageNode.source.bitmap.setPixels(uint8Array,0);   附件 : --> 2019-09-23 3 条评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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