Hey guys,
i need to close the Unreal Editor via C++ code. ExitProcess,Exit and TerminateProcess functions are not working.
any suggestion?
Thanks!
Hey guys,
i need to close the Unreal Editor via C++ code. ExitProcess,Exit and TerminateProcess functions are not working.
any suggestion?
Thanks!
Hi,
Try using FPlatformMisc::RequestExit(0);
and see if that works for you.
Cheers,
Working Flawlessy!! Thank you a lot
IMainFrameModule::Get().RequestCloseEditor();
this line should work as the same as the close button on the upper left corner of the editor window.