i’m currently starting to work with UE4. I wanted to create some DebugMessages and i’ve seen these one in this format:
GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Green, FString::FString("PlaneRotation.Roll = ") + FString::SanitizeFloat(PlaneRotation.Roll));
If u click on the image, you see “GEngine” is underlined red and I get the following message: Error: identifier “GEngine” is undefined
This snippet is extracted from the Tick Function. I used the Flying-Project, from the Starter-Content and didn’t add much content.
How can i fix this?
Another question: Can I implement this debug message in a way, that i only see one line when testing(which also gets updated) and not 100 due to the “Tick-Function”?
Thanks for your help,