UE4.17.2,VS2017ide
在要執行退出的地方加上以下語句ui
UKismetSystemLibrary::QuitGame(this, nullptr, EQuitPreference::Quit); this
看不少例子要引入it
#include "KismetSystemLibrary.h" class
但我試的結果是這個include會報錯,不加就好di