Hi everyone,
I’ve read the documentation about gameplay tags and implemented their use in C++.
I’m now testing if an actor has a tag as follows:
if (rTagContainer.HasTag(FGameplayTag::RequestGameplayTag(FName("InteractionTarget")))) {
//stuff
}
As you can see I have to hardcode the string.
I’m going to create an enumerator that lists all the tags so that I can hardcode just in one place.
Do you know if there is a mechanism that does this automatically? Maybe every time you click on Tools->Refresh Visual Studio Project?