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:
@@ -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*/)
|
||||
|
||||
Reference in New Issue
Block a user