Navigation
API > API/Plugins > API/Plugins/ModularGameplay
Bitflag enum to control how this AddComponents action should actually run.
| Name | EGameFrameworkAddComponentFlags |
| Type | enum |
| Header File | /Engine/Plugins/Runtime/ModularGameplay/Source/ModularGameplay/Public/Components/GameFrameworkComponentManager.h |
| Include Path | #include "Components/GameFrameworkComponentManager.h" |
Syntax
enum EGameFrameworkAddComponentFlags
{
None = 0,
AddUnique = 0b00000001,
AddIfNotChild = 0b00000010,
UseAutoGeneratedName = 0b00000100,
}
Values
| Name | Remarks |
|---|---|
| None | If 0, no specific rule is applied and the component will be always created on the receiver"),. |
| AddUnique | |
| AddIfNotChild | |
| UseAutoGeneratedName |