C++ delay()
## .h
UFUNCTION() // 必须调用宏,不调用没反应
void printText();
## .c
#include "Kismet/KismetSystemLibrary.h"
FLatentActionInfo LatentInfo;
LatentInfo.CallbackTarget = this;
LatentInfo.ExecutionFunction = "printText"; //function名
LatentInfo.Linkage = 1;
LatentInfo.UUID = 100;
UKismetSystemLibrary::Delay(this, 1.5f, LatentInfo);