Timer on Components

Got it to work by doing this:

FTimerDynamicDelegate eventTest;
	eventTest.BindDynamic(this, &UTestComponent::Test);

	GetWorld()->GetTimerManager().SetTimer(TimerHandle_Test, eventTest, 0.9, true);

TimerHandle_Test is a FTimerHandle. UTestComponent::Test() is a UFUNCTION that simply spit out a log when the timer ran.

2 Likes