Skip to content

Instantly share code, notes, and snippets.

@sephirot47
Last active August 25, 2022 13:03
Show Gist options
  • Save sephirot47/33b13922a8068f8a5a92 to your computer and use it in GitHub Desktop.
Save sephirot47/33b13922a8068f8a5a92 to your computer and use it in GitHub Desktop.
UE4 Screen debug log
//Pars: id, seconds, color, text
GEngine->AddOnScreenDebugMessage(0, 1, FColor::Red, TEXT("HI"));
GEngine->AddOnScreenDebugMessage(76867, 3, FColor::MakeRandomColor(), FString::FromInt(8572));
GEngine->AddOnScreenDebugMessage(76867, 5, FColor::MakeRandomColor(), FString::SanitizeFloat(3.141592f));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment