Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/GameplayTags/Classes/GameplayTagContainer.h |
Include |
#include "GameplayTagContainer.h" |
Source |
/Engine/Source/Runtime/GameplayTags/Private/GameplayTagContainer.cpp |
bool MatchesTag
(
const FGameplayTag & TagToCheck
) const
Determine if this tag matches TagToCheck, expanding our parent tags "A.1".MatchesTag("A") will return True, "A".MatchesTag("A.1") will return False If TagToCheck is not Valid it will always return False
True if this tag matches TagToCheck