/Engine/Source/Editor/UnrealEd/Public/EditorDirectories.h
Fetches the last directory used for the specified typeFStringthe string that was last set
[FString](API\Runtime\Core\Containers\FString) GetLastDirectory ( [ELastDirectory::Type](API\Editor\UnrealEd\ELastDirectory__Type) InLastDir ) const