Figuring out which editor "Play in Editor" starts in.
Hello, I've been searching for a few days now on how to get the specific Editor instance that the Play/Simulate button is pressed from.
I found a hacky way of figuring out the tab (sort of) by grabbing an event from FEditorDelegates:
And using OnTabForegrounded in GlobalTabManager:
But I am still unsure about how to find the editor that belongs to the given tabs.
Ultimately I am trying to figure out if the use is PIE in a Blueprint Editor and to get the UBlueprint Object on the PrePIEEvent.
If anyone can help me, it would be greatly appreciated!
asked Oct 19 '18 at 07:54 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here