增加了个自动保存
This commit is contained in:
parent
9ca08538ff
commit
efb9d9e97e
@ -141,6 +141,9 @@ namespace Logic.Editor
|
||||
// $"../Pack/Debug_{selectedVersion.FullVersion}/{Application.productName}.exe",
|
||||
// BuildTarget.StandaloneWindows64,
|
||||
// BuildOptions.Development | BuildOptions.AllowDebugging | BuildOptions.ConnectWithProfiler);
|
||||
EditorUtility.SetDirty(_asset);
|
||||
AssetDatabase.SaveAssets();
|
||||
AssetDatabase.Refresh();
|
||||
}
|
||||
if (InspectorUtils.InspectorButtonWithTextWidth($"构建发布包"))
|
||||
{
|
||||
@ -158,6 +161,9 @@ namespace Logic.Editor
|
||||
// $"../Pack/Release_{selectedVersion.FullVersion}/{Application.productName}.exe",
|
||||
// BuildTarget.StandaloneWindows64,
|
||||
// BuildOptions.None);
|
||||
EditorUtility.SetDirty(_asset);
|
||||
AssetDatabase.SaveAssets();
|
||||
AssetDatabase.Refresh();
|
||||
}
|
||||
EditorGUILayout.EndHorizontal();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user