虚幻Unreal - A计划(永久有效期) 扫二维码继续学习 二维码时效为半小时

(86评价)
价格: 3079.00元
C++ LoadStreamLevel 回调函数怎么写
ycqcyt发起了问答2021-02-16
1
回复
388
浏览

在C++中 LoadStreamLevel加载完毕后 回调函数该怎写呢?

所有回复
  • 老师_Bathur 2021-02-18

    您好,您的需求

     

    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

    还有-5条回复,点击查看
    你还没有登录,请先登录注册
发表回复
你还没有登录,请先 登录或 注册!