Architecture
GameInstance and GameModule
For example the BP_ACS_GameInstance
init the GameModule
:
And implement the BPI_ACS_GameInstance
for GetACSGameModule
getter :
Example of access utilisation :
So if you want to use your own GameInstance, you will need to implement the interface and initialize the GameModule as explained.
UI Modal/Popup
The automatic display of loading boxes or popups works thanks to the addition of the BP_ACS_CommonHUDComponent in the HUD, as you can see in BP_ACS_HUD :
Example of where this is used:
So if you want to continue using this type of interface that displays in your own HUD, you will need to add the BP_ACS_CommonHUDComponent to your HUD.
HUD in GameMode
Don't forget to set the HUD in the GameMode if needed, in case you are using your own GameMode or HUD.