document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. FTimerHandle TimerHandle;
  2.  
  3. FTimerDelegate TimerDelegate;
  4.  
  5. //Binding our Lambda expression
  6. TimerDelegate.BindLambda([&]()
  7. {
  8.     //Typing the logic of our function here just like any other function...
  9.     GLog->Log("Destroying Actor now...");
  10.     Destroy();
  11. });//Don\'t forget the ";" in the end of your parenthesis!
  12.  
  13. GetWorld()->GetTimerManager().SetTimer(TimerHandle, TimerDelegate, 5.f, false);
');