Debug.EditorEnabled
This commit is contained in:
@@ -40,6 +40,7 @@ EditorSystem::EditorSystem(SystemParams params, IRenderer* renderer, RenderFrame
|
|||||||
|
|
||||||
m_EditorStats = new EditorStats();
|
m_EditorStats = new EditorStats();
|
||||||
|
|
||||||
|
m_Enabled = ResourceManager::Load<ConfigFile>("Config.ini")->Get<bool>("Debug.EditorEnabled", false);
|
||||||
if (m_Enabled) {
|
if (m_Enabled) {
|
||||||
Enable();
|
Enable();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user