How to put the UE4 editor into the UE4 game

how to put the UE4 editor into the UE4 game

I think you’re looking for packaging.