store maincamera entity and rework base level setup

This commit is contained in:
SweetId
2023-11-17 15:26:10 +05:30
parent c1fa4c62ce
commit 64171da71a
3 changed files with 13 additions and 4 deletions

View File

@@ -76,6 +76,8 @@ namespace Nz
OnActionRegistered(properties);
}
inline entt::handle GetMainCamera() { return m_mainCamera; }
private:
static EditorBaseApplication* s_instance;
@@ -88,5 +90,6 @@ namespace Nz
Nz::EditorLogger* m_logger;
Nz::Level m_level;
entt::handle m_mainCamera;
};
}