UE4 获取平台名称
2019-08-02 本文已影响0人
我真的不知道该起什么名字了
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();
}