9 #include "GameFramework/PlayerController.h" 15 auto Player = GetOwningPlayerController();
16 if (Player ==
nullptr)
18 UE_LOG(LogCarla, Error, TEXT(
"Can't find player controller!"));
28 double Now = FPlatformTime::Seconds();
34 if (Player->ProjectWorldLocationToScreen(
StringList[i].Location, Screen,
true))
52 double Now = FPlatformTime::Seconds();
void AddHUDString(const FString Str, const FVector Location, const FColor Color, double LifeTime)
sensor::data::Color Color
TArray< HUDString > StringList
virtual void DrawHUD() override
UWheeledVehicleMovementComponent * DebugVehicle