IGameplayTagAssetInterface::HasMatchingGameplayTag

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

Windows
MacOS
Linux

Override Hierarchy

IGameplayTagAssetInterface::HasMatchingGameplayTag()

UAbilitySystemComponent::HasMatchingGameplayTag()

References

Module

GameplayTags

Header

/Engine/Source/Runtime/GameplayTags/Classes/GameplayTagAssetInterface.h

Include

#include "GameplayTagAssetInterface.h"

Source

/Engine/Source/Runtime/GameplayTags/Private/GameplayTagAssetInterface.cpp

Syntax

virtual bool HasMatchingGameplayTag
(
    FGameplayTag TagToCheck
) const

Remarks

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

Returns

True if the asset has a gameplay tag that matches, false if not

Parameters

Parameter

Description

TagToCheck

Tag 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