How can I change ScreenShotDir?

anonymous_user_d4dd01b4
Sat, 27 Feb 2016 14:38:52 +0000
C++

I changed paths.cpp
FString FPaths::ScreenShotDir()
{
return FPaths::GameSavedDir() + TEXT(“Screenshots/”) + FPlatformProperties::PlatformName() + TEXT(“/”);
}

to

FString FPaths::ScreenShotDir()
{
return FPaths::TEXT(“C:/Users/Public/Desktop/”) + TEXT(“Screenshots/”);
}

but is not working in editor playing also pakaged game…
how to apply changed paths.cpp in project?? or different way to Screenshot file in other directory?

1 post - 1 participant