You've already forked LuckyWorld
new consol settings
This commit is contained in:
@ -659,5 +659,38 @@ void ULuckyRobotsGameInstance::LuckyRobots()
|
||||
Name = Name.Replace(TEXT("ERobotsName::"), TEXT(""));
|
||||
GameUserWidget->DoLogItemAdd("Robot:", Name, ELogItemType::Consol);
|
||||
UE_LOG(LogTemp, Display, TEXT("Robot: %s"), *Name);
|
||||
if (GEngine)
|
||||
{
|
||||
GEngine->AddOnScreenDebugMessage(-1, 5.0f, FColor::Blue, FString::Printf(TEXT("Robot selected: %s"), *Name));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
EUnrealBuildType ULuckyRobotsGameInstance::CheckBuildConfiguration() const
|
||||
{
|
||||
#if UE_BUILD_DEBUG
|
||||
{
|
||||
UE_LOG(LogTemp, Warning, TEXT("This is a Debug build"));
|
||||
return EUnrealBuildType::Debug;
|
||||
}
|
||||
#elif UE_BUILD_DEVELOPMENT
|
||||
{
|
||||
UE_LOG(LogTemp, Warning, TEXT("This is a Development build"));
|
||||
return EUnrealBuildType::Development;
|
||||
}
|
||||
#elif UE_BUILD_TEST
|
||||
{
|
||||
UE_LOG(LogTemp, Warning, TEXT("This is a Test build"));
|
||||
return EUnrealBuildType::Test;
|
||||
}
|
||||
#elif UE_BUILD_SHIPPING
|
||||
{
|
||||
return EUnrealBuildType::Shipping;
|
||||
UE_LOG(LogTemp, Warning, TEXT("This is a Shipping build"));
|
||||
}
|
||||
#else
|
||||
{
|
||||
UE_LOG(LogTemp, Warning, TEXT("Unknown build configuration"));
|
||||
return EUnrealBuildType::None;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user