例 : Print String
鼠标tips:Target is Kismet System Library
#include "Runtime/Engine/Classes/Kismet/KismetSystemLibrary.h"
UKismetSystemLibrary::PrintString(this, s)
Kismet System Library + UObject
DEFINE_LOG_CATEGORY_STATIC(myLog, Log, All);//编辑器内的log
UE_LOG(myLog, Warning, TEXT("abc"));
时间: 2024-10-04 20:05:40