Navigation
API > API/Plugins > API/Plugins/Avalanche > API/Plugins/Avalanche/UAvaGameInstance
Description
The end play is normally requested to be done on the next Tick(). This is to avoid having the world destroyed while within the Tick() of that world. However, when shutting down, we need to force the end play to be done immediately because there will not a be a next Tick().
| Name | RequestEndPlayWorld |
| Type | function |
| Header File | /Engine/Plugins/VirtualProduction/Avalanche/Source/Avalanche/Public/Framework/AvaGameInstance.h |
| Include Path | #include "Framework/AvaGameInstance.h" |
| Source | /Engine/Plugins/VirtualProduction/Avalanche/Source/Avalanche/Private/Framework/AvaGameInstance.cpp |
void RequestEndPlayWorld
(
bool bForceImmediate
)