mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-29 20:48:47 +00:00
Update ShaderVariantCollector
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user