Update ShaderVariantCollector

pull/31/head
hevinci 2022-07-28 16:12:39 +08:00
parent 6fa17e617a
commit 88b9afe189
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ namespace YooAsset.Editor
{ {
var wrapper = ShaderVariantCollectionHelper.Extract(svc); var wrapper = ShaderVariantCollectionHelper.Extract(svc);
string jsonContents = JsonUtility.ToJson(wrapper, true); string jsonContents = JsonUtility.ToJson(wrapper, true);
string savePath = _saveFilePath.Replace(".shadervariants", ".json"); string savePath = _saveFilePath.Replace(".shadervariants", "_Readme.json");
File.WriteAllText(savePath, jsonContents); File.WriteAllText(savePath, jsonContents);
} }