大约有 90 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0034 秒)
...e,new Laya.Vector3(wx,0,0)); scene.addChild(num); num.wx=remodarr(num)[0]; console.log("当前宽"+num.wx) num是一个数组精灵,我在动态克隆精灵之 后,当时这个属 性输出是存在的, 但是在帧循环里,再次循环调用的时候,这个属性就丢失啦!! 但是...
来源: Laya_社区 发布时间: 20180129
...材/背景黑色蒙版.png",0,0,1600,1080); this.scTipsPg= new ScTpisUI(); console.log(this.scTipsPg.manager); this.scTipsPg.manager=dialogManager; this.scTipsPg.manager.maskLayer=sprite1; this.scTipsPg.popupCenter=false; this.scTipsPg.top=60; this.scTipsPg.right=-510; this.scTipsPg.show(); ...
来源: Laya_社区 发布时间: 20191031
...材/背景黑色蒙版.png",0,0,1600,1080); this.scTipsPg= new ScTpisUI(); console.log(this.scTipsPg.manager); this.scTipsPg.manager=dialogManager; this.scTipsPg.manager.maskLayer=sprite1; this.scTipsPg.popupCenter=false; this.scTipsPg.top=60; this.scTipsPg.right=-510; this.scTipsPg.show(); 不...
来源: Laya_社区 发布时间: 20191031
...adapter process has terminated unexpectedly layabox ide 无法调试 ,console.log 打印无效,不知道是什么情况! 附件 : --> 2017-01-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 emoonight ...
来源: Laya_社区 发布时间: 20170118
...his.skebqb.replaceSlotSkinName("chuandiwu","","bianbian"); console.log("1111"); } 使用了模板 其他可以动的动画是可以正确替换贴图的 但是播放0帧的动画时 替换贴图不行 附件 : --> 2020-12-31 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20201231
...his.root.addChild( roleAni ); roleAni.pivotY = roleAni.getBounds().height; console.log("---> ", roleAni.getBounds() ); 打印为 ---> Rectangle {x: 0, y: 0, width: 0, height: 0}修改anchorY值无效 2017-08-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20170824
...ler); function onHttpRequestComplete(e){ }; function processHandler(data){ console.log(data); }; function errorHandler(data){ }; xmlHttp.send("http://","","post","text"); 2018-02-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20180202
...-启动脚本 启动脚本代码: export async function main() { console.log("Hello LayaAir!"); Laya.loader.load("resources/BitmapFont.fnt", Laya.Loader.FONT).then((res) => { Laya.Scene.open(Laya.PlayerConfig.startupScene); //可以设置场景路径 }) } 场景...
来源: Laya_社区 发布时间: 20250910
...onLoaded方法里面 写一点测试代码 如下 function onLoaded(){ console.log("onLoaded"); //实例化RunGame // var runGame = new RunGame(); // Laya.stage.addChild(runGame); var sp = new laya.display.Sprite(); sp.x = 100; sp.y = 100; var texture = Laya.loader.getRes('player/chara_01.png'); ...
来源: Laya_社区 发布时间: 20160801
...); /** * 加载进度 */ private loadprogress(data:Array<any>):void{ console.log("加载进度: " + data);//加载进度: param }Laya.Handler的参数完全覆盖掉了loadprogress的加载进度数据 2017-02-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20170221