Closed EasierLu closed 9 months ago
ResourcePackage.cs
[Conditional("DEBUG")] private void DebugCheckRawFileLoadMethod(string method) { if (_playModeImpl.ActiveManifest.BuildPipeline != EDefaultBuildPipeline.RawFileBuildPipeline.ToString()) { throw new Exception($"Cannot load asset bundle file using {method} method !"); } } [Conditional("DEBUG")] private void DebugCheckAssetLoadMethod(string method) { if (_playModeImpl.ActiveManifest.BuildPipeline == EDefaultBuildPipeline.RawFileBuildPipeline.ToString()) { throw new Exception($"Cannot load raw file using {method} method !"); } }
似乎互斥了 另外文档似乎还是旧的
开发者在群里说过,将在12月底发布2.0版本并更新文档,rawfile将使用单独RawFileBuildPipeline进行构建。 引用作者原话: “拆开 主要是几个目的,底层代码好维护,资源构建划分更清晰。上层业务逻辑上,如果你只是改变了代码逻辑,不用重建整个工程目录。”
ResourcePackage.cs
似乎互斥了 另外文档似乎还是旧的