Рет қаралды 11,546
How to set up the equivalent of a delay in c++ using the timer manager.
Copy paste syntax:
Declare timer handle:
FTimerHandle _loopTimerHandle;
Begin timer:
GetWorld()(point)GetTimerManager().SetTimer(_myTimerHandle, this, &AMyActor::MyFunctions, 5.f, false);
Note - using point as I can't use greater than or less than in description