in the .h file add the world “class” before UTextRenderComponent .
class UTextRenderComponent* CountdownText;
and in Countdown.cpp add :
#include "Components/TextRenderComponent.h"
in the .h file add the world “class” before UTextRenderComponent .
class UTextRenderComponent* CountdownText;
and in Countdown.cpp add :
#include "Components/TextRenderComponent.h"