Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Kismet > API/Runtime/Engine/Kismet/UKismetSystemLibrary
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetSystemLibrary.h |
| Include | #include "Kismet/KismetSystemLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/KismetSystemLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Utilities|FlowControl",
Meta=(Latent, WorldContext="WorldContextObject", LatentInfo="LatentInfo", Duration="0.2", Keywords="sleep"))
static void Delay
(
const UObject * WorldContextObject,
float Duration,
struct FLatentActionInfo LatentInfo
)
Remarks
Perform a latent action with a delay (specified in seconds). Calling again while it is counting down will be ignored.
Parameters
| Name | Description |
|---|---|
| WorldContext | World context. |
| Duration | length of delay (in seconds). |
| LatentInfo | The latent action. |