Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FTimerHandle TimerHandle;
- FTimerDelegate TimerDelegate;
- //Binding the TimerDelegate to the Destroy function
- TimerDelegate.BindUFunction(this, FName("Destroy"));
- //Will call the bound function of the TimerDelegate after 5 seconds
- GetWorld()->GetTimerManager().SetTimer(TimerHandle, TimerDelegate, 5.f, false);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement