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

大约有 701 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0061 秒)

261. layaair ide 2.0.0 beta2 读取.lh文件报错 [ 65%]

... fbxtools插件版本1.7.16beta 导出的文件夹放到bin目录, 用Laya.loader.create读取.lh文件报错,   laya.d3.js:15158 Uncaught TypeError: Cannot read property 'props' of undefinedat Function.Laya3D._getSprite3DHierarchyInnerUrls (laya.d3.js:15158) at Loader.Laya3D._onHierarchylhLoaded (...

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

262. Laya中Button等组件lose skin的问题 [ 65%]

...let resArr = [              {url:"wxlocal/enemy.png",type:Laya.Loader.IMAGE},              {url:"wxlocal/bg2.jpg",type:Laya.Loader.IMAGE} ];  Laya.loader.load(resArr, Laya.Handler.create(null, onLoaded));  function onLoaded(): void {     Laya.URL.basePath ="https://xxx....

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

263. 如何读取.json文件内容,用Laya.getRes(xxx.json) 获取显示undefined [ 65%]

...的链接 提交 1 个回复 Monica - 知识达人 赞同来自: 是Laya.loader.getRes() 使用Laya.loader.getRes获取的资源必须先预加载 2017-09-21 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 liuhang123 相关问题 2.0一...

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

264. 判断animation是否加载过某个资源 [ 65%]

...ion 的createFrames 使用已经加载的图集缓存动画失败 请问下loader如何强制加载一个文件,避免浏览器的缓存 问题状态 最新活动: 2017-08-09 10:08 浏览: 915 关注: 2 人 asdf131 • 2017-08-09 10:33 this.aniTemp.loadAtlas(path, Laya.Handler.create(this, this.lo...

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

265. 加载unity导出的.lh文件报错! [ 65%]

....load("res/room.lh");//方法二:预加载,创建为Sprite3D类型Laya.loader.create("res/room.lh",Laya.Handler.create(this,this.onCreateComplete));//预加载完成后回调private onCreateComplete():void{//实例化加载并创建好的3D对象var sprite3D:Laya.Sprite3D = Laya.loader.getRes("r...

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

266. 在加载包含Animation的prefab后,动画没有显示 [ 65%]

...动画进行单独处理?还是不允许把动画放进预制体? Laya.loader.load("prefab/gk2v1.json",Laya.Handler.create(this,function(pref:Laya.Prefab){ var gkpref:Laya.Prefab = new Laya.Prefab(); gkpref.json = pref; var OBJ = Laya.Pool.getItemByCreateFun("gk2v1",gkpref.create,gkpref); this.S...

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

267. [LayaAir3]页面之间,通过open,onOpend 方法传参数,接收不到 [ 65%]

...自: LayaAir 3.3.0-beta.4 可以传递参数 代码如下        Laya.loader.load(config.url, Laya.Loader.HIERARCHY).then((res: any) => {                 let view: Laya.Scene = res.create();                 view.open(false, ...param);             })这边能正常输出...

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

268. Laya Air Ide每次启动layaair调试时能否不清除已经下载的缓存? [ 65%]

...调试时能否不清除已经下载的缓存? 在游戏中,我用Laya.loader.load("xxx")从网络上下载了资源,但是每次重启layaair调试时候,我用Laya.loader.getRes("xxx")却显示未定义。请问该怎么处理呢?? 2018-11-30 添加评论 免费帖 --> 分享 微博 QZ...

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

269. 请问我用网络格式加载成功后,在服务器替换image.atlas和images.png重新打开小游戏没有重新加载服务器的png,只重新加载了atlas [ 65%]

...Array = [ //{ url: "https://piggy.com/res/atlas/images.atlas", type : Laya.Loader./png}, { url: "https://piggy.com/res/atlas/images.atlas", type: Laya.Loader.ATLAS }, { url: "https://piggy.com/res/swf/flash.json", type: Laya.Loader.JSON }, { url: "images/background.png", type: Laya.Loader.IMAGE }, {...

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

270. exception info:[SyntaxError: JSON Parse error: Expected '}'] at line 22 [ 65%]

...: Error Could not attach to main target 微信小程序里加载json文件 Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug spine动画转换失败,加载错误:导出二进制数据出错:writeUint8 error - Out of range261, 有谁知道什...

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