Navigation
API > API/Plugins > API/Plugins/GameFeatures
Inheritance Hierarchy
- UObject
- UGameFeatureAction
- UGameFeatureAction_AddActorFactory
References
| Module | GameFeatures |
| Header | /Engine/Plugins/Runtime/GameFeatures/Source/GameFeatures/Public/GameFeatureAction_AddActorFactory.h |
| Include | #include "GameFeatureAction_AddActorFactory.h" |
Syntax
UCLASS (MinimalAPI, Meta=(DisplayName="Add Actor Factory"), Config=Engine)
class UGameFeatureAction_AddActorFactory : public UGameFeatureAction
Remarks
GameFeatureAction to add an actor factory when this plugin registers. Useful for factories that might load BP classes within a plugin which might not have been discovered yet.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSoftClassPtr< UObject > | ActorFactory | ~UObject overrides The actor factory class to add once this plugin registers Actor factories should be setup with bShouldAutoRegister so that they do not register during engine boot. | |
| TWeakObjectPtr< UObject > | AddedFactory |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | PostRename
(
UObject* OldOuter, |
UObject overrides | |
| void |
Overridden from UGameFeatureAction
| Type | Name | Description | |
|---|---|---|---|
| void | Called when the object owning the action is registered for possible activation, this is called even if a feature never activates | ||
| void | Called to unregister an action, it will not be activated again without being registered again |