u++ 代码段记录

打印屏幕

1
2
3
4
5
6
7
8
9
#include "Engine/Engine.h"

FString WenBen = "helloc++";
FVector2D DaXiao;
DaXiao.X = 1.5f;
DaXiao.Y = 1.0f;
//FVector2D DaXiao = (1.5f, 1.0f);
GEngine->AddOnScreenDebugMessage(1, 6.0f, FColor::Blue, WenBen, true, DaXiao);