Universal AssetHandles. Serialize AssetHandle instead of AssetIdentifier

A bit unstable
This commit is contained in:
Simon Lübeß
2023-08-01 21:38:54 +02:00
parent 6d7f26b1f4
commit 60725c3588
45 changed files with 520 additions and 127 deletions
+2 -5
View File
@@ -235,10 +235,7 @@ namespace GlitchyEditor
_editor.EditorSceneRenderer = _editorSceneRenderer;
_editor.RequestOpenScene.Add(new (s, fileName) => {
String fullName = scope .();
Path.Combine(fullName, _currentProject.AssetsFolder, fileName);
LoadSceneFile(fullName);
LoadSceneFile(fileName);
});
}
@@ -1105,7 +1102,7 @@ namespace GlitchyEditor
private void ShowOpenRecentSceneMenu()
{
if (_currentProject == null)
if (_currentProject == null || _currentProject.UserSettings.RecentScenes == null)
return;
int i = 0;