카테고리 없음
231006 언리얼 엔진 로그
by the_cat_Soy
2023. 10. 6.
로그 (UE_LOG)
UE+LOG(LogTemp, Log, TEXT("Hello"));
//UE_LOG('로그 카테고리', '로그 상세 수준', 로그 내용');
//FString
UE_LOG(LogTemp, Warning, TEXT("The Actor's name is %s"), *YourActor->GetName());
//bool
UE_LOG(LogTemp, Warning, TEXT("The boolean value is %s"), ( bYourBool ? TEXT("true") : TEXT("false") ));
//int
UE_LOG(LogTemp, Warning, TEXT("The integer value is: %d"), YourInteger);
//float
UE_LOG(LogTemp, Warning, TEXT("The float value is: %f"), YourFloat);
//FVector
UE_LOG(LogTemp, Warning, TEXT("The vector value is: %s"), *YourVector.ToString());
//Multiple
UE_LOG(LogTemp, Warning, TEXT("Current values are: vector %s, float %f, and integer %d"), *YourVector.ToString(), YourFloat, YourInteger);