I have a pawn class which contains the following:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components")
class UMeshComponent* meshComponent;
And in the constructor:
meshComponent = ObjectInitializer.CreateDefaultSubobject<UMeshComponent>(this, TEXT("Mesh Component"));
meshComponent->AttachTo(RootComponent);
I have created a blueprint with that class and I can not see the variable setting’s:
Why? I have the EditAnywhere property. I also tried to add Blueprintable in the UClass.