UE4 获取平台名称

FString UGameplayStatics::GetPlatformName()
{
       // the string that BP users care about is actually the platform name that  we'd name the .ini file directory (Windows, not WindowsEditor)
       // 返回值: Windows, Android,HTML5,IOS
       return FPlatformProperties::IniPlatformName();
}

你可能感兴趣的:(UE4 获取平台名称)