• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 411 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0059 秒)

241. android下layabox调用Laya.Texture2D.load报错 [ 66%]

...ev-loca ... 483:28) 02-06 14:59:43.858  6545  6658 I LayaBox :     at LoaderManager.__proto._endLoad (http://10.0.1.72/game/dev-loca ... 070:11) 02-06 14:59:43.858  6545  6658 I LayaBox :     at Loader.onLoaded (http://10.0.1.72/game/dev-local/res/libs/laya  layabox 版本: 02-06 14:56:40...

来源: Laya_社区 发布时间: 20180206

242. laya3.0中jszip使用异常 [ 66%]

...代码为: let zipUrl = "resources/files/config.zip";         Laya.loader.load([{ url: zipUrl, type: Laya.Loader.BUFFER }], null, Laya.Handler.create(this, this.onLoadCfg, null, false)).then(             (value) => {                 JSZip.loadAsync(value).then(           ...

来源: Laya_社区 发布时间: 20230208

243. 急急 在线等 加载xml 后直播无法自动播放 附示例项目 [ 66%]

急急 在线等 加载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

244. 混淆 JS 后不支持()=>{}的回调? [ 66%]

...:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个测试方法 Laya.loader.create 进度回调函数执行两次 打包百度小游戏不能播放声音?是api不支持 还是发生了改变 或者格式问题? Laya.Handler.create 回调 问题状态 最新活动: 2018-04-18 14:32 浏览:...

来源: Laya_社区 发布时间: 20180413

245. index.js函数位置 [ 65%]

...什么缓动模式 Text类中竟然没有pos函数的api~ 请问laya.net.Loaderlaya.net.LoaderManager哪些函数支持网络资源加载,加载什么类型?哪些只支持本地资源加载 如何移位置 一个3d模型,怎么设置每一个面的uv取值位置 代码重用和公共函数...

来源: Laya_社区 发布时间: 20180105

246. 新人求教!!! [ 65%]

...成功后,通过回调方法绘制图片并添加到舞台      Laya.loader.load([this.monkey1,this.monkey2],Laya.Handler.create(this,this.graphicsImg)); } private graphicsImg():void{    //创建一个实例    this.img = new Laya.Sprite();    //添加到舞台    Laya.stage.addChild(th...

来源: Laya_社区 发布时间: 20180226

247. demo中的2d和3d混合 加载ktx的资源 会白色的 其他ui没有问题 [ 65%]

...00631用户 赞同来自:    //加载IDE指定的场景         Laya.loader.load([{url:"minastc.config.json",type:Laya.Loader.JSON}],new Laya.Handler(this,function(){             this.astcconfig = Laya.loader.getRes("minastc.config.json");             for(var key in this.astcconfig...

来源: Laya_社区 发布时间: 20221013

248. unity导出的场景.ls加载到laya3d中报错 [ 65%]

...__proto.event (file:///D:/layaTest/mylaya/bin/libs/laya.core.js:467:29) at LoaderManager.__proto._endLoad (file:///D:/layaTest/mylaya/bin/libs/laya.core.js:12516:12) at Loader.onLoaded (file:///D:/layaTest/mylaya/bin/libs/laya.core.js:12493:11) at EventHandler.__proto.runWith (file:///D:/layaTest/my...

来源: Laya_社区 发布时间: 20171017

249. 使用二进制图片 · LayaAir3.0文档 · LAYABOX [ 65%]

...图片加密数据是在图片的前面写入了四个字节的数据 Laya.loader.fetch("resources/res/test.bin","arraybuffer").then((res)=>{ //获得res的ArrayBuffer数据 let arraybuffer: ArrayBuffer = res; //Byte数组接收arraybuffer let byte:Byte = new Byte(arraybuffer); //从第四个字...

来源: Laya3.0_文档 发布时间: 20230303

250. 对象池3D问题 [ 65%]

对象池3D问题 Laya.loader.create("fish/denglongyu/layaScene.lh", Laya.Handler.create(this, function(){     var layaMonkey =Laya.Sprite3D.load("fish/denglongyu/layaScene.lh"); scene.addChild(layaMonkey) layaMonkey.transform.localScale = new Laya.Vector3(0.04,0.04,0.04); layaMonkey.transform....

来源: Laya_社区 发布时间: 20171212