Merge pull request #1241 from aws-lumberyard-dev/cgalvan/AddGameModeLogging

[LYN-3801] Added back log message when entering/exiting game mode.
This commit is contained in:
cgalvan
2021-06-10 12:20:32 -05:00
committed by GitHub
+4
View File
@@ -627,6 +627,8 @@ void CGameEngine::SwitchToInGame()
&AzFramework::InputSystemCursorRequests::SetSystemCursorState,
AzFramework::SystemCursorState::ConstrainedAndHidden);
}
Log("Entered game mode");
}
void CGameEngine::SwitchToInEditor()
@@ -681,6 +683,8 @@ void CGameEngine::SwitchToInEditor()
AzFramework::InputSystemCursorRequestBus::Event(AzFramework::InputDeviceMouse::Id,
&AzFramework::InputSystemCursorRequests::SetSystemCursorState,
AzFramework::SystemCursorState::UnconstrainedAndVisible);
Log("Exited game mode");
}
void CGameEngine::HandleQuitRequest(IConsoleCmdArgs* /*args*/)