Navigation
API > API/Plugins > API/Plugins/ModularGameplay > API/Plugins/ModularGameplay/UGameFrameworkComponentManager
Description
The init state system can be used by components to coordinate their initialization using game-specific states specified as gameplay tags IGameFrameworkInitStateInterface provides a simple implementation that can be inherted by components Adds a new global actor feature state, either before or after an existing one. This will generally be called from game global or game feature initialization
| Name | RegisterInitState |
| Type | function |
| Header File | /Engine/Plugins/Runtime/ModularGameplay/Source/ModularGameplay/Public/Components/GameFrameworkComponentManager.h |
| Include Path | #include "Components/GameFrameworkComponentManager.h" |
| Source | /Engine/Plugins/Runtime/ModularGameplay/Source/ModularGameplay/Private/Components/GameFrameworkComponentManager.cpp |
void RegisterInitState
(
FGameplayTag NewState,
bool bAddBefore,
FGameplayTag ExistingState
)