UGameFeatureAction

Represents an action to be taken when a game feature is activated

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

GameFeatures

Header

/Engine/Plugins/Experimental/GameFeatures/Source/GameFeatures/Public/GameFeatureAction.h

Include

#include "GameFeatureAction.h"

Syntax

UCLASS(DefaultToInstanced, EditInlineNew, Abstract)
class UGameFeatureAction : public UObject

Remarks

Represents an action to be taken when a game feature is activated

Functions

Name Description

Public function Virtual

void

 

AddAdditionalAssetBundleData

(
    FAssetBundleData& AssetBundleData
)

Public function Virtual

void

 

OnGameFeatureActivating()

Older-style activation function with no context, called by base class if context version is not overridden

Public function Virtual

void

 

OnGameFeatureActivating

(
    FGameFeatureActivatingContext& Con...
)

Called when the feature is actually applied

Public function Virtual

void

 

OnGameFeatureDeactivating

Called when game feature is deactivated, it may be activated again in the near future

Public function Virtual

void

 

OnGameFeatureLoading()

Called to indicate that a feature is being loaded for activation in the near future

Public function Virtual

void

 

OnGameFeatureRegistering()

Called when the object owning the action is registered for possible activation, this is called even if a feature never activates

Public function Virtual

void

 

OnGameFeatureUnregistering()

Called to unregister an action, it will not be activated again without being registered again