【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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user