[UE] FGameplayTag C++ 定義テンプレート

UnrealEngine

コード

TestGameplayTag.h

#pragma once

#include "NativeGameplayTags.h"

UE_DECLARE_GAMEPLAY_TAG_EXTERN(Test_GameplayTag);

TestGameplayTag.cpp

#include "TestGameplayTag.h"

UE_DEFINE_GAMEPLAY_TAG_COMMENT(Test_GameplayTag, "Test.GameplayTag", "Comment");

参考文献

タイトルとURLをコピーしました