UAbilitySystemComponent::HasAnyMatchingGameplayTags

Check if the asset has gameplay tags that matches against any of the specified tags (expands to include parents of asset tags)

Windows
MacOS
Linux

Override Hierarchy

IGameplayTagAssetInterface::HasAnyMatchingGameplayTags()

UAbilitySystemComponent::HasAnyMatchingGameplayTags()

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/AbilitySystemComponent.h

Include

#include "AbilitySystemComponent.h"

Syntax

virtual bool HasAnyMatchingGameplayTags
(
    const FGameplayTagContainer & TagContainer
) const

Remarks

Check if the asset has gameplay tags that matches against any of the specified tags (expands to include parents of asset tags)

Returns

True if the asset has matches any of the gameplay tags, will be false if container is empty

Parameters

Parameter

Description

TagContainer

Tag container to check for a match

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss