Module |
|
Header |
/Engine/Source/Runtime/GameplayTags/Classes/BlueprintGameplayTagLibrary.h |
Include |
#include "BlueprintGameplayTagLibrary.h" |
Source |
/Engine/Source/Runtime/GameplayTags/Private/BlueprintGameplayTagLibrary.cpp |
static bool HasTag
(
const FGameplayTagContainer & TagContainer,
FGameplayTag Tag,
bool bExactMatch
)
Check if the tag container has the specified tag
True if the container has the specified tag, false if it does not
Parameter |
Description |
---|---|
TagContainer |
Container to check for the tag |
Tag |
Tag to check for in the container |
bExactMatch |
If true, the tag has to be exactly present, if false then TagContainer will include it's parent tags while matching |