/Engine/Source/Editor/UnrealEd/Public/EditorWorldExtension.h
Gets the last editor world, will only be non-null when current world is a play world.
[UWorld](API\Runtime\Engine\Engine\UWorld) * GetLastEditorWorld() const