Navigation
Unreal Engine C++ API Reference > Runtime > GameplayTags > FGameplayTagContainer
References
Module | GameplayTags |
Header | /Engine/Source/Runtime/GameplayTags/Classes/GameplayTagContainer.h |
Include | #include "GameplayTagContainer.h" |
FORCEINLINE_DEBUGGABLE bool HasTag
(
const FGameplayTag & TagToCheck
) const
Remarks
Determine if TagToCheck is present in this container, also checking against parent tags {"A.1"}.HasTag("A") will return True, {"A"}.HasTag("A.1") will return False If TagToCheck is not Valid it will always return False True if TagToCheck is in this container, false if it is not