【fix】数据未保存bug

This commit is contained in:
2025-04-22 10:39:02 +08:00
parent ecf8fcc597
commit 5a26fbd020
5 changed files with 5 additions and 2 deletions

View File

@@ -116,6 +116,7 @@ namespace Stary.Evo.InformationSave
scriptObjectSaveData.dic.Add(sceneNmae + gameObject.name, new List<InformationBase>(_list));
}
AssetDatabase.SaveAssets();
EditorUtility.SetDirty(scriptObjectSaveData);
AssetDatabase.Refresh();
return true;