Allow separators in "Create new Asset" dropdown (also changed text to just "Create new")

This commit is contained in:
Simon Lübeß
2023-11-15 16:23:22 +01:00
parent 6f1467046d
commit d718c6625d
2 changed files with 25 additions and 1 deletions
+2
View File
@@ -152,6 +152,8 @@ namespace GlitchyEditor
}
}));
Editor.Instance.ContentBrowserWindow.InsertAssetCreatorSeparator();
Editor.Instance.ContentBrowserWindow.RegisterAssetCreator(new AssetCreator("Scene", "New Scene", ".scene", new (path) =>
{
using (Scene newScene = CreateNewScene())