FTimerDelegate TimerCallback;
TimerCallback.(]
{
// callback;
});
FTimerHandle Handle;
GetWorld()->GetTimerManager().SetTimer(Handle, TimerCallback, 5.0f, false);
Is this what you’re looking for?
FTimerDelegate TimerCallback;
TimerCallback.(]
{
// callback;
});
FTimerHandle Handle;
GetWorld()->GetTimerManager().SetTimer(Handle, TimerCallback, 5.0f, false);
Is this what you’re looking for?