大约有 426 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0087 秒)
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 分享:LayaAir下如何获取图集下的小图资源? 问题状态 最新活动: 2021-12-31 10:16 浏览: 5906 关注: 3 人 c416288806 • 2022-01-10 17:...
来源: Laya_社区 发布时间: 20211216
...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
...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
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 自定义场景类导出layaMaxUI.ts有前缀导致报错 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 FD 宏编译时 出现 试...
来源: Laya_社区 发布时间: 20180519
...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
...小游戏,只有个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
...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
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 怎么获取对象的坐标 问题状态 最新活动: 2016-05-05 17:04 浏览: 2379 关注: 3 人
来源: Laya_社区 发布时间: 20160505
...true; this.addChild(effect3D); //console.hylog("_path:",_path); SetUVEffect(effect3D); } 附件 : --> effect3d.rar 2018-06-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20180601
...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