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

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

1. laya.net.ResourceVersion_API3.0 [ 100%]

...lic/Protected All Inherited Externals Only exported Menu Globals "laya/net/ResourceVersion" ResourceVersion Class ResourceVersion 资源版本的生成由layacmd或IDE完成,使用 ResourceVersion 简化使用过程。 调用 enable 启用资源版本管理。 Hierarchy ResourceVersion Index Prope...

来源: Laya3.0_api 发布时间: 20231102

2. laya.net.ResourceVersion [ 95%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames ResourceVersionProperties | Methods | Constants Packagelaya.netClasspublic class ResourceVersionInheritanceResourceVersion Object 资源版本的生成由layacmd或IDE完成,使用 ResourceVersion 简化使用过程。 ...

来源: Laya2.0_api 发布时间: 20190513

3. 版本管理 后缀可以自定吗? [ 94%]

...  //设置版本控制类型为使用文件名映射的方式         ResourceVersion.type = ResourceVersion.FILENAME_VERSION;         //加载版本信息文件          ResourceVersion.enable("version.json", Laya.Handler.create(this, LoadRes));   这些档案变成这样    filena...

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

4. 最新的ResourceVersion发布以后加载的url不正确 [ 90%]

最新的ResourceVersion发布以后加载的url不正确 一个工程在IDE下直接播放是可以运行的。  我使用最新的ResourceVersion,在资源后增加了Hash后缀,比如某个文件发布后: release\web\res\atlas\ui\sharedcp094faf36.png 加上了094faf36的后缀   然后...

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

5. version.json版本文件会加载缓存的,看了源码也没有忽略缓存 [ 87%]

...码  static enable(manifestFile, callback, type = 2) {             ResourceVersion.type = type;             ILaya.loader.load(manifestFile, Handler.create(null, ResourceVersion.onManifestLoaded, [callback]), null, Loader.JSON);         } load没有设置忽略缓存   应该 static...

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

6. laya ts的版本管理功能介绍,示例代码写上去无效,请重新给个,谢谢 [ 84%]

...谢谢。 如 //设置版本控制类型为使用文件名映射的方式 ResourceVersion.type =ResourceVersion.FILENAME_VERSION; 2018-01-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 sulaya 赞同来自: http...

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

7. Scene.load加载的时候无法正确的识别ResourceVersion [ 80%]

Scene.load加载的时候无法正确的识别ResourceVersion 普通调试的时候没有问题,但是发布的时候再文件尾部加上了hash,加载其他UI之类的接口都没有问题,但是加载3D部分的时候,通过Scene.load加载进去的依赖资源,比如lmat之类的并...

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

8. 使用IDE发布小游戏时,启用了版本管理会导致使用 Laya.MiniAdpter.nativefiles 定义的本地资源文件无法加载 [ 75%]

...改的地方有如下几处:   1、在第8行下面添加对 laya.net.ResourceVersion 的引用: var ResourceVersion = laya.net.ResourceVersion;  2、第330-336行,将 MiniFileMgr.isLocalNativeFile=function(url){ for(var i=0,sz=MiniAdpter.nativefiles.length;i<sz;i++){ if(url.indexOf(Mini...

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

9. 微信不加载version.json [ 74%]

LayaAir引擎 微信不加载version.json Laya.ResourceVersion.type = Laya.ResourceVersion.FILENAME_VERSION; Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this,this.beginLoad)); HI, 各位大大。我们在程序入口添加了上述资源版本控制,并release。 抓包发现...

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

10. 版本管理什么用 [ 73%]

...什么样的    var uiResArray = [                 { url: Laya.ResourceVersion.manifest["res/atlas/loading.json"], type: Laya.Loader.ATLAS },                 { url: Laya.ResourceVersion.manifest[utils.resourcesCenter.ResourcesPathStr.PROTO_FILE_PATH], type: Laya.Loader.TEXT },   ...

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