大约有 90 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)
...Version.addVersionPrefix这个函数本来有两个参数,第二个参数basePath直接被忽略掉了。导致3D的引用部分无法转换成带hash的函数。 参考调用的地方:var formatSubUrl=URL.formatURL(path,hierarchyBasePath);这个地方的处理是有问题的,除非3D的Assets...
来源: Laya_社区 发布时间: 20180130
...,"file not find"); return; } //保护修改-----end------------------ this.basePath =_atlasPath?Loader.getAtlas(_atlasPath).dir:_url.split(".swf")[0] + "/image/"; _initData(data);添加了这个保护后,代码不会报错,但是你的帧循环使用创建MC不会显示,不显示的原因就...
来源: Laya_社区 发布时间: 20180910
...复 AlanDeng 赞同来自: 可以,只要在Main类里面设置Laya.URL.basePath为资源地址 2020-04-07 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 辉先生 相关问题 加载到舞台的3D模型不...
来源: Laya_社区 发布时间: 20200406
...到了腾讯云上,也设置了域名信息 Laya.URL.rootPath = Laya.URL.basePath = "https://lg-f6ejft4c-1256468286 ... 3B%3B var asset = []; asset.push({ url : "res/atlas/game.atlas", type:Laya.Loader.ATLAS }); asset.push({ url : "res/atlas/bubbles.atlas", type:Laya.Loader.ATLAS }); asset.push({ ...
来源: Laya_社区 发布时间: 20180517
... 18:32 浏览: 1634 关注: 2 人 vvv123 • 2018-01-05 11:15 应该是URL.basePath
来源: Laya_社区 发布时间: 20180104
...项目 去加载一个3D模型文件 然后在加载之前 设置一下URL.basePath 然后用iphonX测试 必现这个问题 callback • 2018-04-24 15:45 第一次读的是 url.basePath的路径 第二次进来 就变成读取本地路径了 callback • 2018-04-24 13:15 我代码暂时木有做任...
来源: Laya_社区 发布时间: 20180424
...网络加载 加载用的是这样的方式 Laya.URL.rootPath = Laya.URL.basePath = ""; //加载图集 Laya.loader.load([ {url:"res/atlas/comp.atlas", type: Laya.Loader.ATLAS}, ], new Laya.Handler(this, this.onLoad)); 版本是1.7.19 2018-09-21 添加评论 已悬赏1元 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20180921
...adImage(url, true); 该错误会导致微信小游戏上,设置了URL.basePath的时候,部分图片会加载不到 —————————————————————————————————————————— 后面发现,上面这样改会时图片...
来源: Laya_社区 发布时间: 20191120
...面了,, 然后游戏初始化设置了Laya.URL.rootPath = Laya.URL.basePath=ftp地址 然后去加载wxlocal里面的资源, Laya.loader.load(arr, Handler.create(this, this.onLoadComplete),Handler.create(this, this.onLoading, null, false)); 发现并没有去加载这个资源,加断...
来源: Laya_社区 发布时间: 20180714
...ourceUrl; }else[b] { var tempStr = URL.rootPath != "" ? URL.rootPath : URL.basePath; tempUrl = URL.formatURL(sourceUrl); if (tempStr != "" && tempUrl.indexOf(tempStr) == 0) tempUrl = tempUrl.replace(tempStr, ""); fileNativeUrl = tempUrl; }[/b] 2.大约1079行,MiniLoader类的load方法里...
来源: Laya_社区 发布时间: 20190403