Unreal Engine 如果需要引用windows中的API 正确加头文件方法:
因为windows中的API可能会和ue 中的冲突,只需要把要掉用的包起来就ok了
#include "Windows/AllowWindowsPlatformTypes.h"
#include "Windows/PreWindowsApi.h"
//此处写要调用的windows的头文件
#include "Windows/PostWindowsApi.h"
#include "Windows/HideWindowsPlatformTypes.h"