When you develop for multi-platforms for Android and iOS, you can use something like
if (Application.platform == RuntimePlatform.IPhonePlayer)
But what about distinguishing iPhone4, iPAD, iPAD mini, Iphone5? My game has different UI sizes for these platforms.
Thanks Fattie. But I wonder how to distinguish iPhone4 iPhone5 iPad IPAD MINI in Unity3d, since they all belongs to RuntimePlatform.IPhonePlayer.
– Van_Zeng