UBlueprintGameplayTagLibrary::DoesTagAssetInterfaceHaveTag

Check if the specified tag container has the specified tag, using the specified tag matching types

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 DoesTagAssetInterfaceHaveTag
(
    TScriptInterface< IGameplayTagAssetInterface > TagContainerInterface,
    FGameplayTag Tag
)

Remarks

Check if the specified tag container has the specified tag, using the specified tag matching types

Returns

True if the container has the specified tag, false if it does not

Parameters

Parameter

Description

TagContainerInterface

An Interface to a tag container

Tag

Tag to check for in the container

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