Module |
|
Header |
/Engine/Source/Runtime/GameplayTags/Classes/GameplayTagsManager.h |
Include |
#include "GameplayTagsManager.h" |
Source |
/Engine/Source/Runtime/GameplayTags/Private/GameplayTagsManager.cpp |
FGameplayTag AddNativeGameplayTag
(
FName TagName,
const FString & TagDevComment
)
Registers the given name as a gameplay tag, and tracks that it is being directly referenced from code This can only be called during engine initialization, the table needs to be locked down before replication
Will return the corresponding FGameplayTag
Parameter |
Description |
---|---|
TagName |
The Name of the tag to add |
TagDevComment |
The developer comment clarifying the usage of the tag |