UGantryExperienceStage_SettingsPages
Gives every local player these settings pages while the experience is active.
This is how a game mode or a DLC pack brings settings of its own without the game listing them. Add the stage to the experience and list the page assets under Pages, and any settings providers under Providers. Players who join later, such as a second split-screen player, get the pages too. Players who leave lose them.
The stage is Client Only by default, since a dedicated server has no players. The pages and provider classes load as a tracked load, so a loading screen can show them.
Properties
| Property | Type | Default | Description |
|---|---|---|---|
Pages read-only | TArray<TSoftObjectPtr<UGantrySettingsPage> > | Settings page assets every local player has while the experience is active. | |
Providers read-only | TArray<TSoftClassPtr<UGantrySettingsProvider> > | Settings providers that build pages in code for every local player while the experience is active. |
C++
Public C++ members that Blueprint does not see.
GetStageDisplayName_Implementation
virtual FString
"Settings pages".
BeginStage
virtual void
Loads the pages and providers, then adds them for every local player.
EndStage
virtual void
Removes them from every player it added them for.