在C++中 LoadStreamLevel加载完毕后 回调函数该怎写呢?
您好,您的需求
static void LoadStreamLevel
(
const UObject * WorldContextObject,
FName LevelName,
bool bMakeVisibleAfterLoad,
bool bShouldBlockOnLoad,
FLatentActionInfo LatentInfo
)
可以考虑使用FLatentActionInfo来做哈
以下资料供您参考:
https://docs.unrealengine.com/en-US/API/Runtime/Engine/Engine/FLatentActionInfo/index.html