大约有 191 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
Laya_社区(180) Laya3.0_文档(3) Laya2.0_文档(3) laya_api(1) Laya_示例(1) Laya3.0_api(1) Laya2.0_示例(1) Laya2.0_api(1)
加载ls文件 completeHandler 有时不触发? Laya.loader.create(Consts.SubPackagePath+"/scenes/"+msceneinfo.unityName+".ls",Handler.create(this,this.completeHandler),null,Scene); 2018-07-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20180724
...*=null):void { // var texture:Texture = Loader.getRes("res/Dragon.png"); // var data:ArrayBuffer = Loader.getRes("res/Dragon.sk"); factory = new Templet(); factory.on(Event.COMPLETE, this, onSkeletonDat...
来源: Laya_社区 发布时间: 20160902
...I DocumentationAll Packages | All Classes | Index | Frames No Frames LoaderManagerProperties | Methods | Events Packagelaya.netClasspublic class LoaderManagerInheritanceLoaderManager EventDispatcher Object LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实...
来源: Laya2.0_api 发布时间: 20190513
预加载结束之后还是报lose skin private loadRes():void{ Laya.loader.load("./res/atlas/comp.atlas",Laya.Handler.create(this, this.onAssetLoaded),Laya.Handler.create(this, this.onLoading, null, false)); } private onLoading(progress: number): void { console.log("加载进度: " + progress); } ...
来源: Laya_社区 发布时间: 20180314
...个是我在unity导出一个文件,然后layabox中加载场景。 Laya.loader.create(this.strScene, Laya.Handler.create(this, this.onLoadScene)); private onLoadScene() { var scene: Laya.Scene = Laya.Scene.load(this.strScene); if (scene == null) { return; } this.mScene = scene; 大致的流程...
来源: Laya_社区 发布时间: 20180418
...载ttf字体? 参考http://ask.layabox.com/question/1645写的, Laya.loader.load("font/本墨竟圆-常规.ttf",Laya.Handler.create(this,OnComplete_FontLoad),null,Laya.Loader.BUFFER); function OnComplete_FontLoad() { console.log("加载字体"); var newFont = Laya.loader.getRes("font/本墨竟...
来源: Laya_社区 发布时间: 20180718
...ctionScript 3.0) 关于龙骨动画转换 localToGlobal坐标转换 Laya.loader.create 进度回调函数执行两次 fbxtools 在哪里下载啊?在 工具菜单>3D转换工具 里下载的只有 unity3d 的插件 这种进度条怎么实现? spine动画转换失败,加载错误:导出二进...
来源: Laya_社区 发布时间: 20180419
... constructor() { super(); } onStart(): void { //加载预制体文件 Laya.loader.load("resources/Title.lh").then( (res)=>{ //创建预制体 let label: Laya.Label = res.create(); //添加预制体Label字体到box节点下 this.box.addChild( label ); } ); } } 运行效果如图3-6所示 (图3-...
来源: Laya3.0_文档 发布时间: 20241014
...oadArr:Array = new Array; loadArr= [{url: "res/atlas/hall_new.json", type: Loader.ATLAS}, // {url: "res/atlas/help.json", type: Loader.ATLAS}, // {url: "res/atlas/shop.json", type: Loader.ATLAS}, // {url: "shmjAssets/扣牌文字背景.png", type: Loader.IMAGE}, //这张图有问题。 ]; Laya.loa...
来源: Laya_社区 发布时间: 20180301
...解压到本地,指定basePath为解压后的路径之后,通过laya.loader.create创建.ls场景 会报错,找不到资源文件,但是load json文件可以 2018-12-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1...
来源: Laya_社区 发布时间: 20181229