Как писать Blueprint компоненты на c++? После компиляции кода, свой Blueprint не отображается в списке. Вот код:
.cpp
Код:
#include "TestLocation.h"
#include "BPFTest.h"
void UBPFTest::testFunction()
{
}
.h
Код:
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Kismet/BlueprintFunctionLibrary.h"
#include "BPFTest.generated.h"
/**
*
*/
UCLASS()
class TESTLOCATION_API UBPFTest : public UBlueprintFunctionLibrary
{
GENERATED_BODY()
public:
UFUNCTION(BlueprintCallable, Category = "MyFunctions")
static void testFunction();
};