UBlueprintGameplayTagLibrary::MatchesTag

Determine if TagOne matches against TagTwo

Windows
MacOS
Linux

References

Module

GameplayTags

Header

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

Include

#include "BlueprintGameplayTagLibrary.h"

Source

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

Syntax

static bool MatchesTag
(
    FGameplayTag TagOne,
    FGameplayTag TagTwo,
    bool bExactMatch
)

Remarks

Determine if TagOne matches against TagTwo

Returns

True if TagOne matches TagTwo

Parameters

Parameter

Description

TagOne

Tag to check for match

TagTwo

Tag to check match against

bExactMatch

If true, the tag has to be exactly present, if false then TagOne will include it's parent tags while matching

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