Change ProjectSettings to Singleton interface

Signed-off-by: nggieber <52797929+AMZN-nggieber@users.noreply.github.com>
This commit is contained in:
nggieber
2021-12-09 09:24:01 -08:00
parent c7893e0386
commit d7a3d63457
15 changed files with 383 additions and 340 deletions
@@ -111,6 +111,14 @@ namespace O3DE::ProjectManager
}
}
m_settings = AZStd::make_unique<Settings>();
AZ_Assert(m_settings, "Failed to create Settings");
if (!m_settings->IsInitialized())
{
return false;
}
const AZ::CommandLine* commandLine = GetCommandLine();
AZ_Assert(commandLine, "Failed to get command line");