大约有 72 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0048 秒)
Laya_社区(55) Laya2.0_文档(6) Laya3.0_文档(5) Laya3.0_api(2) laya_api(1) Laya2.0_示例(1) Laya_示例(1) Laya2.0_api(1)
...成的二进制文件在头条界面加载后得到的数据是空的 Laya.loader.load([ { url:"res/Bag_atlas0.png", type:Laya.Loader.IMAGE }, { url:"res/Bag_atlas0_1.png", type:Laya.Loader.IMAGE}, { url:"res/Bag.xml", type:Laya.Loader.BUFFER} ], Lay...
来源: Laya_社区 发布时间: 20190726
laya.core.js中 onLoaded 的建议 可能表达的不是很清楚 Loader.loadedMap 在 Loader.cacheRes 里赋值, 而在其他调用的地方里只有截图部分(onLoaded里)的url是自己创建的完整路径不是通过URL.formatURL,实际运用时也出现了一些问题(版本号相...
来源: Laya_社区 发布时间: 20170425
...析XML中,XML元素节点的属性值如何获取? 引擎1.7.18 新增Loader的preLoadedMap属性怎么用 Laya IDE的帧属性面板打不开 只显示时间轴 如何给untiy模型导出增加自定义属性值 dialog的lock属性没出现 关于打包图集时的图片默认属性与repeat的...
来源: Laya_社区 发布时间: 20170719
...png", "../../../../res/ui/tree/clip_tree_arrow.png" ]; //加载资源 Laya.loader.load(res, new Handler(this, onLoadComplete)); } /***加载资源完成***/ private function onLoadComplete(e:*=null):void { // 组装tree的数据 var treeData:String = ""; //外层循环为树的父节点(相当于...
来源: Laya2.0_文档 发布时间: 20210715
...ree/clip_tree_folder.png", "../../res/ui/tree/clip_tree_arrow.png" ]; Laya.loader.load(res, new Handler(this, onLoadComplete)); })(); function onLoadComplete() { // 组装tree的数据 var treeData = ""; for (var i = 0; i "; for (var j = 0; j "; } treeData += ""; } treeData += ""; // 解析tree的...
来源: Laya2.0_文档 发布时间: 20210715
...s/ui/tree/clip_tree_folder.png", "res/ui/tree/clip_tree_arrow.png" ]; Laya.loader.load(res, new Handler(this, this.onLoadComplete)); } private onLoadComplete(): void { // 组装tree的数据 var treeData: string = ""; for (var i: number = 0; i "; for (var j: number = 0; j "; } treeData += ""; } tree...
来源: Laya2.0_文档 发布时间: 20210714
... import Label = laya.ui.Label; import Handler = laya.utils.Handler; import Loader = laya.net.Loader; UI项目的例子是这样写了! 2017-02-24 0 1 分享 微博 QZONE 微信 Laya_XS 赞同来自: 基于LayaAir引擎的类都需要加上Laya.的头标识,这是官方规定的,你按...
来源: Laya_社区 发布时间: 20170224
...,导致这个问题是因为没有资源也调用了加载完成, Laya.loader.on(Laya.Event.ERROR, this, this.onLibError); Laya.loader.load([{ url:com.globals.GameConfig.XML_LIB_URL, type:Loader.BUFFER }], Handler.create(this, this.onLibLoaded)); 资源是不存在的,然后还是调用了 thi...
来源: Laya_社区 发布时间: 20171102
... //加载引擎需要的资源 //Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, onLoaded)); Laya.loader.load ( [ { url: "res/a...
来源: Laya_社区 发布时间: 20180513
...esInfo.__proto.event (http://127.0.0.1:65353/game/code.js:483:28) at LoaderManager.__proto._endLoad (http://127.0.0.1:65353/game/code.js:13152:11) at Loader.onLoaded (http://127.0.0.1:65353/game/code.js:13128:10) at EventHandler.__proto.runWith (http://127.0.0.1:65353/game/code.js:...
来源: Laya_社区 发布时间: 20180228