document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. FTimerHandle TimerHandle;
  2.  
  3. FTimerDelegate TimerDelegate;
  4. //Binding the TimerDelegate to the Destroy function
  5. TimerDelegate.BindUFunction(this, FName("Destroy"));
  6.  
  7. //Will call the bound function of the TimerDelegate after 5 seconds
  8. GetWorld()->GetTimerManager().SetTimer(TimerHandle, TimerDelegate, 5.f, false);
');