关闭Visual Studio、UE4编辑器删除项目中Soure文件夹中的你想删除的*.cpp和*.h文件删除项目中的Binaries文件夹右键. uproject文件,点击Generate Visual Studio project files重新打开工程,如果提示需要重新编译项目,点yes