I have a UTextRenderComponent on an actor that I need to access from another component. What is the preferred way of doing this? I’ve tried putting a UPROPERTY on my component, but when I select the text render component from the dropdown in the editor, it doesn’t select the text render component I made. Instead, it creates a new text render component that it says is inhereted from native c++, and then I can’t delete it. Is this maybe a bug?
// Snippet of only the important code
class UCountdown : public UActorComponent
{
public:
UPROPERTY(EditAnywhere)
UTextRenderComponent* CountdownText;
}