Pass the reference to the component in the editor

For UObject components, you will need to add “VisibleAnywhere” in the UPROPERTY().