Download

Can't see Skeletal Mesh Component in Datatable based on Structure from CPP code

I have this code of structure


USTRUCT(BlueprintType)
struct FWeaponStruct : public FTableRowBase
{
    GENERATED_BODY()

    UPROPERTY(EditAnywhere, BlueprintReadOnly)
        FString Name;

    UPROPERTY(EditAnywhere, BlueprintReadWrite)
        USkeletalMeshComponent *WeaponMesh;

    UPROPERTY(EditAnywhere, BlueprintReadOnly)
        float Damage;

    UPROPERTY(EditAnywhere, BlueprintReadOnly)
        float Firerate;

    UPROPERTY(EditAnywhere, BlueprintReadOnly)
        int ClipSize;

};

But I don’t see Skeletal Mesh in Datatable. How can I fix it?



USkeletalMesh*


USkeletalMeshComponent is an actor component/

And which type should I use?

Okey, I understood it. Thanks