大约有 183 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0038 秒)
...信 奶我嘛 赞同来自: 在vs中生成luanch.json,下载插件bugger for chrome,直接在vs这边f5就可以运行并调试断点了,如果还是不行,直接从旧版的laya项目里copy一个luanch.json过来就可以了 2019-11-18 0 0 分享 微博 QZONE 微信 zhdeer 赞同来自: ...
来源: Laya_社区 发布时间: 20191113
...置数据项为对应图片的路径 var data: Array<string> = []; for (var i: number = 0; i < 2; ++i) { data.push("img_common_pinzhi0.png"); data.push("img_common_pinzhi1.png"); data.push("img_common_pinzhi2.png"); data.push("img_common_pinzhi3.png"); data.push("img_common_pinzhi4.png"); d...
来源: Laya_社区 发布时间: 20180410
...2 赞同来自: yung 、layabox @echo off setlocal enabledelayedexpansion for /f "tokens=*" %%i in ('dir/b') do ( set fn=%%i set fn=!fn: =! ren "%%i" !fn! ) 可以用批处理 也可以百度一下 去除文件空格批处理 很简单 2018-05-03 2 0 分享 微博 QZONE 微信 rabbit 赞同...
来源: Laya_社区 发布时间: 20180502
...ore-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual...
来源: Laya_社区 发布时间: 20220406
....astcconfig = Laya.loader.getRes("minastc.config.json"); for(var key in this.astcconfig){ var fileversion = Laya.ResourceVersion.manifest[key]||key; fileversion = fileversion.replace(".png",".ktx").replace(".jpg",".ktx"); ...
来源: Laya_社区 发布时间: 20221013
...e", "29,59,wolk,true", "70,120,cheer,true", "125,380,dance,true", "393,440,forerake,false", "443,485,backward,true"]; let state: Laya.AnimatorState; console.log("getANi"); for (let i = 0; i < arr.length; i++) { let arrString = arr[i].split(","); // 创建动画动作状态 state = new Laya.Animat...
来源: Laya_社区 发布时间: 20190802
...compile' is not in your gulpfile [17:22:12] Please check the documentation for proper gulpfile formatting exit:1 附件 : --> 2020-05-09 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Recovery 赞同来...
来源: Laya_社区 发布时间: 20200509
...scene.addChild( new Laya.Camera(0, 0.1, 100) ) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 2, 4)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); Laya.Sprite3D.load( "res/test_mesh2.lh", Laya.Handler.create(this, function (sprite: Laya.Sprite3D): void { var clo...
来源: Laya_社区 发布时间: 20220721
... { LayaRender.body_impl(render, body); for (var i = 1; i < body.parts.length; i++) { LayaRender.body(render, body.parts); } } 备注: 由于comp是组合body,其本身也是body,LayaRender.Bod...
来源: Laya_社区 发布时间: 20180625
...认配置 if(!!options && typeof options === "object"){ for(var i in options){ settings[i] = options[i]; } } var fontSize = settings.canvasWidth / (settings.text.length + 1); settings.font = fontSize + "px 'Microsoft Yahei'" //获取2d的上线文开始设置相关属性 ...
来源: Laya_社区 发布时间: 20180814