UGameplayTagsManager::GameplayTagsMatchDepth

Check to see how closely two FGameplayTags match.

Windows
MacOS
Linux

References

Module

GameplayTags

Header

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

Include

#include "GameplayTagsManager.h"

Source

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

Syntax

int32 GameplayTagsMatchDepth
(
    const FGameplayTag & GameplayTagOne,
    const FGameplayTag & GameplayTagTwo
) const

Remarks

Check to see how closely two FGameplayTags match. Higher values indicate more matching terms in the tags.

Returns

the length of the longest matching pair

Parameters

Parameter

Description

GameplayTagOne

The first tag to compare

GameplayTagTwo

The second tag to compare

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