Advertisement
orfeasel

Destroy after X seconds (compile error)

Feb 10th, 2016
25,494
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.11 KB | None | 0 0
  1. FTimerHandle TimerHandle;
  2.  
  3. GetWorld()->GetTimerManager().SetTimer(TimerHandle, this, &AActor::Destroy(), 5.f);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement