1//include needed
2#include "Engine/Engine.h"
3
4//Format
5void AddOnScreenDebugMessage(uint64 Key, float TimeToDisplay, FColor DisplayColor, const FString & DebugMessage, bool bNewerOnTop, const FVector2D & TextScale);
6
7//Example Code
8Engine->AddOnScreenDebugMessage(0, 2, FColor::Green, TEXT("Example Message"));
9
10//For more information vist "https://docs.unrealengine.com/en-US/API/Runtime/Engine/Engine/UEngine/AddOnScreenDebugMessage/1/index.html"