UE4エディタ上でUActorComponent継承クラスを作ると子Blueprintクラスが作れない問題。
自動生成されたコードはこんな感じ
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) ) class UTestActorComponent : public UActorComponent { GENERATED_BODY() //実装 };
子Blueprintクラスを作れるようにするにはUCLASS()マクロを以下の様に変更すればよい。
UCLASS(ClassGroup = (Custom), BlueprintType, Blueprintable, meta = (BlueprintSpawnableComponent))