打印调试信息到屏幕:

if( GEngine )
{
GEngine->AddOnScreenDebugMessage( 0, 30.f, FColor::Red, "Hello!" );
}

 

 

 

输出效果:

UE4 屏幕输出调试信息

 

相关文章: