I am trying to set a timer from begin play in my game mode, and when i do i get compiler errors
I’ve been looking around for a few hours and I can’t figure out what im doing wrong. Sorry if this is something simple i missed, i’m pretty awful at C++
this is the snippet of code
GetWorldTimerManager().SetTimer(this, &ACustomGameMode::StartRound, RoundStartTimerDuration, false);
heres the errors
error C2027: use of undefined type ‘FTimerManager’
error C2228: left of ‘.SetTimer’ must have class/struct/union