BlueprintからC++のメンバーをアクセスするためのマクロ

TestClass.h


UFUNCTION(BlueprintCallable)

void TestDo();

UPROPERTY(BLueprintReadWrite)

float TestValue;


TestClass.cpp

void TestClass::TestDo()

{

    // ここが処理される

}

こうすることにより、Blueprintよりアクセス可能となる。

コメント

このブログの人気の投稿

日本でコンピュータサイエンスを学ぶ難しさ

How to preview nif file on the ubuntu.