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