mirror of https://github.com/tuyoogame/YooAsset
Update ShaderVariantCollector
parent
6fa17e617a
commit
88b9afe189
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue