BlueprintからC++のメンバーをアクセスするためのマクロ
TestClass.h
UFUNCTION(BlueprintCallable)
void TestDo();
UPROPERTY(BLueprintReadWrite)
float TestValue;
TestClass.cpp
void TestClass::TestDo()
{
// ここが処理される
}
こうすることにより、Blueprintよりアクセス可能となる。
TestClass.h
UFUNCTION(BlueprintCallable)
void TestDo();
UPROPERTY(BLueprintReadWrite)
float TestValue;
TestClass.cpp
void TestClass::TestDo()
{
// ここが処理される
}
こうすることにより、Blueprintよりアクセス可能となる。
コメント
コメントを投稿