I have a situation in my game where i need to switch from the Unity splash screen to the same image in-game so that i can fade the Unity splash screen out seamlessly. In order to do this i need to know which Splash screen the game used in the initial loading.
I’m doing this per device like so:
if (iPhoneGen == iPhoneGeneration.iPhone3G ||
iPhoneGen == iPhoneGeneration.iPhone3GS)
{
FADE_SPRITE_NAME = "splash/splash_screen320x480";
}
else if ......
I have an iPhone 6 test device and with a quick test it gives iPhoneGeneration.iPhoneUnknown as the iPhone.generation variable.
It also seems to select the “iPhone4" /Retina” Splash screen from PlayerSettings.
Based on the iPhone.generation and Screen.width & Screen.height I can deduct if the device is an iPhone 6 and select the correct image.
I don’t have an iPhone 6+ device so I’m asking if anyone here has had a chance to try which splash screen from PlayerSettings does an iPhone 6+ end up showing?
My Unity version is 4.5.4f1 (pro)