I have tried googling but not sure correct terminology.
I have a struct in c++ but i cant see it in the list when creating a data table.
I am assuming its the declarations at the top.
TIA
I have tried googling but not sure correct terminology.
I have a struct in c++ but i cant see it in the list when creating a data table.
make your struct derive from FTableRowBase
example
USTRUCT(BlueprintType, Blueprintable)
struct FMyTableEntry : public FTableRowBase {
GENERATED_BODY()
UPROPERTY(EditAnywhere, BlueprintReadWrite)
FText MyName;
};
ofc you need to add the include
#include "Engine/DataTable.h"