UBlueprintGameplayTagLibrary::MatchesAnyTags

Determine if TagOne matches against any tag in OtherContainer

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 MatchesAnyTags
(
    FGameplayTag TagOne,
    const FGameplayTagContainer & OtherContainer,
    bool bExactMatch
)

Remarks

Determine if TagOne matches against any tag in OtherContainer

Returns

True if TagOne matches any tags explicitly present in OtherContainer

Parameters

Parameter

Description

TagOne

Tag to check for match

OtherContainer

Container to check 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