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

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

341. 一次性加载四五个以上的sk资源会导致部分加载不出来 [ 62%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 分享:LayaAir下如何获取图集下的小图资源? 问题状态 最新活动: 2021-12-31 10:16 浏览: 5906 关注: 3 人 c416288806 • 2022-01-10 17:...

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

342. Laya.timer.frameLoop(1, this, this.aaa);对象移动会出现颤抖现象 [ 61%]

...ddChild(this.playerHB); } private aaa():void { this.playerHB.x += this.bb; console.log( this.playerHB.x); if(this.playerHB.x > 1000) { this.bb *= -1; } if(this.playerHB.x < -100) { this.bb *= -1; } } 控制一直6像素来回移动 它就会出现颤抖 不管几像素都会 附件 : --> testL...

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

343. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 61%]

...e.runNodeScript(node.id, node.getComponent("MyScript").id, "test", "abc"); console.log(ret); 3、自定义一个函数,并执行。例如: //下面是场景进程的代码 //注意:IEditorEnv.regClass是必须的 @IEditorEnv.regClass() export class TestSceneScript { //注意:this是当前的...

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

344. spine动画转换失败,加载错误:导出二进制数据出错:writeUint8 error - Out of range261, 有谁知道什么原因导致的吗? 怎样解决? [ 61%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 自定义场景类导出layaMaxUI.ts有前缀导致报错 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 FD 宏编译时 出现 试...

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

345. 阻止点击穿透问题 [ 61%]

...g) { Game.runing = true; Game.stepNum = Math.floor(Math.random() * 6) + 1; console.log(Game.stepNum) Animate.role(Game.stepNum); } },[this.items.shaizi]);  弹层的代码: this.prizeAlertLayer = new Sprite(); this.prizeAlertLayer.zOrder = 90; this.prizeAlertLayer.size(W, H);   let bg = new Spri...

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

346. [LayaAirIDE3]app打包问题 [ 61%]

...小游戏,只有个temprelease web端打包发布后能不能自动删除console.log 问题状态 最新活动: 2025-11-08 09:44 浏览: 1421 关注: 3 人 LayaAir小牛 • 2025-11-07 16:47 额 当前版本确实存在问题 正在修复 LayaAir小牛 • 2025-11-07 16:47 您的项目也是用了...

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

347. ui组件list数据源的疑问 [ 61%]

...ew TeUI(); var arr=; for(var i;i<6;i++){ arr.push({m_lable:"NO."+i}); } console.log(test.m_list) test.m_list.array=arr; Laya.stage.addChild(test); test.show(); })(); 但没有出来想看到的效果,个人对这个list.array不是很理解,我翻看了官网的其他文档和实例,也没...

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

348. LayaAir复杂数据对象 预加载 [ 60%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 怎么获取对象的坐标 问题状态 最新活动: 2016-05-05 17:04 浏览: 2379 关注: 3 人

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

349. 3d特效克隆时,在手机会现卡顿情况,特效资源已经提前在加载 [ 60%]

...true;             this.addChild(effect3D);             //console.hylog("_path:",_path);             SetUVEffect(effect3D);                      } 附件 : --> effect3d.rar 2018-06-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

350. 请问怎么制作一个layabox js版本的加载效果 [ 60%]

...png", "./comp/progress$bar.png"], Handler.create(this, onLoadComplete)); } console.log(1); Laya.class(Loadings,"Loadings",_super); function onLoadComplete() { progressBar = new ProgressBar("./comp/progress.png"); progressBar.width = 400; progressBar.x = (Laya.stage.width - progressBar.width) / 2; pr...

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