大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0083 秒)
Laya_社区(2466) Laya2.0_文档(107) Laya3.0_文档(62) Laya_示例(52) Laya3.0_api(51) Laya2.0_示例(43) laya_api(4) Laya2.0_api(4)
...接 提交 1 个回复 Laya_XS 赞同来自: laya支持lav文件,通过loader的create去加载完来使用! 2017-12-02 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 qq394172764Q 相关问题 unity导出粒子文件问题 LayaBox ID...
来源: Laya_社区 发布时间: 20171202
...毕,此方法只执行一次 onAwake(): void { //支付宝小游戏 Laya.loader.loadPackage("sub1", this.printProgress).then(() => { Laya.loader.load("sub1/Cube.lh").then((res: Laya.PrefabImpl) => { let sp3: Laya.Sprite3D = res.create() as Laya.Sprite3D; this.scene3d.addChild(sp3); }); }) La...
来源: Laya3.0_文档 发布时间: 20251010
... 微博 QZONE 微信 hjy1234123 赞同来自: json文件没加载到 Laya.loader.load([{url: "res/atlas/**.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); 像这样加载一下,再打开界面 2017-02-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回...
来源: Laya_社区 发布时间: 20170208
...) { var ProResArray = [ {url : "res/atlas/com/loading.atlas" , type : Laya.Loader.ATLAS}, ]; Laya.loader.load(ProResArray, Laya.Handler.create(this, this.onProLoaded)); }执行上面的步骤 2018-07-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个...
来源: Laya_社区 发布时间: 20180711
...ser.clientHeight, Laya.WebGL); const path = "./res/apes/monkey2.png"; Laya.loader.load(path, Laya.Handler.create(this, function() { let tex = Laya.loader.getRes(path); let sp = new Laya.Sprite(); Laya.stage.addChild(sp); sp.graphics.drawTriangles( tex, 100, 0, new Float32Array([0,0,1,0,1,1,0,1]), ne...
来源: Laya_社区 发布时间: 20190829
...行是没有问题的,但是发布打包之后存在资源加载不了 Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug 更改资源路径的URL 问题状态 最新活动: 2018-08-30 14:01 浏览: 1586 关注: 1 人
来源: Laya_社区 发布时间: 20180817
模型资源释放问题 通过这种方式加载的3d角色资源 Laya.loader.create("res/role3d/mesh/563001/563001.lh",Laya.Handler.create(this,this.onModelOK),null,Laya.Sprite3D); 然后用这种方式来释放 var role3D:Laya.Sprite3D = Laya.loader.getRes("res/role3d/mesh/563001/563001.lh"); ro...
来源: Laya_社区 发布时间: 20180409
急急 在线等 加载xml 后直播无法自动播放 附示例项目 LoaderPolicy.setup(URLResolver.solvePath("files.fst?"), Handler.create(this, function xload() : void { //无法播放 Laya.loader.load(URLResolver.solvePath("config.xml"), Handler.create(this, onConfigLoaded), null, Loader.XML);...
来源: Laya_社区 发布时间: 20171115
load 跨域请求 Laya.loader.load(resUrl+'bin/res/atlas/dice.json', Laya.Handler .create(this, this.init), null, Laya.Loader.ATLAS); 这个json提示跨域了,怎么解决好 2017-07-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20170719
...dSans-Bold、DroidSansFallback Font.defaultFont = "36px Arial"; Laya.loader.load("data/Questv1_Regular.ttf", Handler.create(this,onLoaded), null, Loader.BUFFER); } private function onLoaded():void { var arr:ArrayBuffer=Laya.loader.getRes("data/Questv1_Regular.ttf"); if(arr && Bro...
来源: Laya_社区 发布时间: 20180705