Do you create the component in the constructor as a default subobject?
You need to assign it to a property declared as follows:
UPROPERTY(VisibleAnywhere, BlueprintReadOnly)
UStaticMeshComponent* MeshComp;
It should then be editable.
Do you create the component in the constructor as a default subobject?
You need to assign it to a property declared as follows:
UPROPERTY(VisibleAnywhere, BlueprintReadOnly)
UStaticMeshComponent* MeshComp;
It should then be editable.