Hello,
Is there a way I can get the device the game is being played on?
for example can I check if the game is played on an Galaxy S4
Hello,
Is there a way I can get the device the game is being played on?
for example can I check if the game is played on an Galaxy S4
Kind of hiden away:
#if PLATFORM_ANDROID
FString Model = FAndroidMisc::GetDeviceModel();
#else
FString Model = "Other";
#endif
I placed in platfrom #if, because FAndroidMisc code won’t build in other platforms (including Windows, keep that in mind) and you gonna have compiler errors, you need to create code for each platfrom.
iOS have something similar but enum based:
Good info! Deleting my answer…
Great answer thanks!
How I can call this in Blueprint?