Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MichaelGatesDev/326da2b3e5fd76bf9977ad480d12caa3 to your computer and use it in GitHub Desktop.
Save MichaelGatesDev/326da2b3e5fd76bf9977ad480d12caa3 to your computer and use it in GitHub Desktop.
Example of using RetrigerrableDelay in UE4
FLatentActionInfo Info;
Info.Linkage = 0;
Info.CallbackTarget = this;
Info.ExecutionFunction = "MyFunction"; // this function must be marked with UFUNCTION() or it will not be called!
Info.UUID = GetUniqueID();
UKismetSystemLibrary::RetriggerableDelay(GetWorld(), 0.2f, Info);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment