#include "TimerManager.h"
if (!GEngine) return;
if (!GEngine->GameViewport) return;
UWorld* World = GEngine->GameViewport->GetWorld();
if (!World) return;
World->GetTimerManager().SetTimer(FinishedHandle, this, &UHMMusicNoteManager::Finish, 10.f);
原文:https://www.cnblogs.com/djw1993/p/12659772.html