Game state that is active while gameplay is paused.
More...
#include <GameStateLevelPaused.h>
Inherits GameState::IGameState, and AzFramework::InputChannelEventListener.
|
| AZ_CLASS_ALLOCATOR (GameStateLevelPaused, AZ::SystemAllocator) |
|
| AZ_RTTI (GameStateLevelPaused, "{6CAA4810-AA67-4A96-BB23-3EFA4BCCBF12}", IGameState) |
|
| GameStateLevelPaused ()=default |
| Default constructor.
|
|
| ~GameStateLevelPaused () override=default |
| Default destructor.
|
|
|
void | OnPushed () override |
| GameState::GameState::OnPushed
|
|
void | OnPopped () override |
| GameState::GameState::OnPopped
|
|
void | OnEnter () override |
| GameState::GameState::OnEnter
|
|
void | OnExit () override |
| GameState::GameState::OnExit
|
|
AZ::s32 | GetPriority () const override |
| AzFramework::InputChannelEventListener::GetPriority
|
|
bool | OnInputChannelEventFiltered (const AzFramework::InputChannel &inputChannel) override |
| AzFramework::InputChannelEventListener::OnInputChannelEventFiltered
|
|
|
virtual void | LoadPauseMenuCanvas () |
|
virtual void | UnloadPauseMenuCanvas () |
|
virtual void | SetPauseMenuCanvasDrawOrder () |
|
virtual const char * | GetPauseMenuCanvasAssetPath () |
|
|
virtual void | PauseGame () |
|
virtual void | UnpauseGame () |
|
|
AZ::EntityId | m_pauseMenuCanvasEntityId |
| Id of the UI canvas being displayed.
|
|
Game state that is active while gameplay is paused.
◆ LoadPauseMenuCanvas()
void GameStateSamples::GameStateLevelPaused::LoadPauseMenuCanvas |
( |
| ) |
|
|
inlineprotectedvirtual |
Convenience functions to load and unload the pause menu UI canvas.
◆ PauseGame()
void GameStateSamples::GameStateLevelPaused::PauseGame |
( |
| ) |
|
|
inlineprotectedvirtual |
Convenience functions to pause and unpause the game.
The documentation for this class was generated from the following files:
- Gems/GameStateSamples/Code/Include/GameStateSamples/GameStateLevelPaused.h
- Gems/GameStateSamples/Code/Include/GameStateSamples/GameStateLevelPaused.inl