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

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

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. 版本管理 后缀可以自定吗? [ 95%]

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

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

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

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

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

5. 关于版本控制问题 [ 83%]

关于版本控制问题 这个文件version.json是在ResourceVersion.enable加载的 现在用IDE发布项目时,发现如果version.json有修改过则文件会变成类似这样的version99914b93.json 那问题来了,难道每次发版本都要改下代码? ResourceVersion.enable("version99...

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

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

...码  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

7. 'resourceVersion' is not a layaair-cmd command. See 'layaair-cmd --help' [ 82%]

'resourceVersion' is not a layaair-cmd command. See 'layaair-cmd --help' 您好!各位大神好。   用的是老版本管理。 Laya.ResourceVersion.enable("verson.json", Laya.Handler.create(this, this.startGame), Laya.ResourceVersion.FOLDER_VERSION); laya2.0, layacmd 版本是2.1.23 在发...

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

8. 刚刚接触2天layaair,有几个问题请教。 [ 75%]

...由IDE发布功能自动生成,如果没有也不影响后续流程 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); } onVersionLoaded() { //激活大小图映射,加载小图的时候,如果发现小图在大...

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

9. Laya 最新IDE发布的版本管理有问题? [ 75%]

...acmd进行版本管理控制。 另外在laya.core.js里面第5094行,是ResourceVersion的代码,可以看到这里ResourceVersion.enable的方法必须要接收一个type类型,否则资源加载方式会自动变成按hash文件名的方式来加载,这个是两边文档没有说明的地...

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

10. Maximum call stack size exceeded [ 74%]

...发布功能自动生成,如果没有也不影响后续流程     Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION);     }       onVersionLoaded() {     //激活大小图映射,加载小图的时候,如...

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