[UE5/C++] Native GameplayTag

Eu4ng·2023년 1월 17일
0
#include "ProjectName/GameplayTags/MyGameplayTags.h"

UTestComponent::UTestComponent()
{
	// Set this component to be initialized when the game starts, and to be ticked every frame.  You can turn these features
	// off to improve performance if you don't need them.
	PrimaryComponentTick.bCanEverTick = true;

	// ...
	const FMyGameplayTags GameplayTags = FMyGameplayTags::Get();
	FGameplayTag GameplayTag = GameplayTags.EquipmentSlot_Weapon_Primary;
}
profile
초보 개발자

0개의 댓글