【fix】数据未保存bug
This commit is contained in:
@@ -162,7 +162,7 @@ namespace Stary.Evo.Editor
|
||||
}
|
||||
|
||||
viewer.SetBuildCacheToggle();
|
||||
|
||||
EditorUtility.SetDirty(this);
|
||||
AssetDatabase.SaveAssets();
|
||||
//BuildServerPath();
|
||||
}
|
||||
|
||||
@@ -274,6 +274,7 @@ namespace Stary.Evo.Editor
|
||||
}
|
||||
|
||||
AssetDatabase.Refresh();
|
||||
EditorUtility.SetDirty(mainResDomain);
|
||||
// 保存更改
|
||||
AssetDatabase.SaveAssets();
|
||||
string serverPath = $"Z:/HybridclrConfigData/{BuildAssetDataSetting.packageName}/{EditorUserBuildSettings.activeBuildTarget}/";
|
||||
|
||||
@@ -52,6 +52,7 @@ namespace Stary.Evo.Editor
|
||||
EditorFrameworkUtils.DeleteAllChild(domainPath, FileAttributes.Normal);
|
||||
domainList.Clear();
|
||||
AssetDatabase.Refresh();
|
||||
|
||||
AssetDatabase.SaveAssets();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "com.staryevo.informationsave",
|
||||
"displayName": "02.InformationSave",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"description": "位置配置工具",
|
||||
"unity": "2021.3",
|
||||
"unityRelease": "30f1",
|
||||
|
||||
Reference in New Issue
Block a user