For the line
GetWorld()->GetTimerManager().SetTimer(FireRateTimerHandle, this, &APawnTurret::CheckFireCondition, FireRate, true);
GetWorld has a red squiggly with the error “incomplete type is not allowed”.
I’ve tried adding #include "GameFramework/Actor.h"
and #include "Engine/World.h"
to no avail. Any idea what I’m missing here?