FTimerHandle TimerHandle;
FTimerDelegate TimerDelegate;
//Binding our Lambda expression
TimerDelegate.BindLambda([&]()
{
//Typing the logic of our function here just like any other function...
GLog->Log("Destroying Actor now...");
Destroy();
});//Don\'t forget the ";" in the end of your parenthesis!
GetWorld()->GetTimerManager().SetTimer(TimerHandle, TimerDelegate, 5.f, false);