Navigation
API > API/Plugins > API/Plugins/GameFeatures
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UGameFeatureAction
- UGameFeatureAction_AddComponents
References
| Module | GameFeatures |
| Header | /Engine/Plugins/Experimental/GameFeatures/Source/GameFeatures/Public/GameFeatureAction_AddComponents.h |
| Include | #include "GameFeatureAction_AddComponents.h" |
Syntax
UCLASS&40;MinimalAPI, Meta&61;&40;DisplayName&61;"Add Components"&41;&41;
class UGameFeatureAction_AddComponents : public UGameFeatureAction
Remarks
Adds actor<->component spawn requests to the component manager
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FGameFeatureComponentEntry > | ComponentList | List of components to add to gameplay actors when this game feature is enabled |
Overridden from UGameFeatureAction
| Type | Name | Description | |
|---|---|---|---|
| void | AddAdditionalAssetBundleData
(
FAssetBundleData& AssetBundleData |
||
| void | OnGameFeatureActivating
(
FGameFeatureActivatingContext& Context |
Called when the feature is actually applied | |
| void | OnGameFeatureDeactivating
(
FGameFeatureDeactivatingContext& Context |
Called when game feature is deactivated, it may be activated again in the near future |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| EDataValidationResult | IsDataValid
(
FDataValidationContext& Context |
Generic function to validate objects during changelist validations, etc. |