FGameplayTagContainer::AddLeafTag

Adds a tag to the container and removes any direct parents, wont add if child already exists

Windows
MacOS
Linux

References

Module

GameplayTags

Header

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

Include

#include "GameplayTagContainer.h"

Source

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

Syntax

bool AddLeafTag
(
    const FGameplayTag & TagToAdd
)

Remarks

Adds a tag to the container and removes any direct parents, wont add if child already exists

Returns

True if tag was added

Parameters

Parameter

Description

Tag

The tag to try and add to this 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