转自:http://www.unrealchina.net/portal.php?mod=view&aid=66
退出游戏:
UKismetSystemLibrary::QuitGame(this, nullptr, EQuitPreference::Quit);