Created
January 23, 2022 02:03
-
-
Save MichaelGatesDev/326da2b3e5fd76bf9977ad480d12caa3 to your computer and use it in GitHub Desktop.
Example of using RetrigerrableDelay in UE4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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