From 88b9afe189820a234fffc0487d7fd810eb97db5e Mon Sep 17 00:00:00 2001 From: hevinci Date: Thu, 28 Jul 2022 16:12:39 +0800 Subject: [PATCH] Update ShaderVariantCollector --- .../Editor/ShaderVariantCollector/ShaderVariantCollector.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/YooAsset/Editor/ShaderVariantCollector/ShaderVariantCollector.cs b/Assets/YooAsset/Editor/ShaderVariantCollector/ShaderVariantCollector.cs index 7348b2a..bf6a598 100644 --- a/Assets/YooAsset/Editor/ShaderVariantCollector/ShaderVariantCollector.cs +++ b/Assets/YooAsset/Editor/ShaderVariantCollector/ShaderVariantCollector.cs @@ -191,7 +191,7 @@ namespace YooAsset.Editor { var wrapper = ShaderVariantCollectionHelper.Extract(svc); string jsonContents = JsonUtility.ToJson(wrapper, true); - string savePath = _saveFilePath.Replace(".shadervariants", ".json"); + string savePath = _saveFilePath.Replace(".shadervariants", "_Readme.json"); File.WriteAllText(savePath, jsonContents); }