Legacy Documentation: Version 4.6.2
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

iPhoneGeneration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

iPhone device generation.

Variables

iPhone First generation device.
iPhone3G Second generation.
iPhone3GS Third generation.
iPodTouch1Gen iPod Touch, first generation.
iPodTouch2Gen iPod Touch, second generation.
iPodTouch3Gen iPod Touch, third generation.
iPad1Gen iPad, first generation.
iPhone4 Fourth generation.
iPodTouch4Gen iPod Touch, fourth generation.
iPad2Gen iPad, second generation.
iPhone4S Fifth generation.
iPad3Gen iPad, third generation.
iPhone5 iPhone5.
iPodTouch5Gen iPod Touch, fifth generation.
iPadMini1Gen iPadMini, first generation.
iPad4Gen iPad, fourth generation.
iPhone5C iPhone 5C.
iPhone5S iPhone 5S.
iPad5Gen iPad Air (fifth generation).
iPadMini2Gen iPadMini Retina (second generation).
iPhone6 iPhone 6.
iPhone6Plus iPhone 6 Plus.
iPadMini3Gen iPad Mini 3.
iPadAir2 iPad Air 2.
iPhoneUnknown Yet unknown iPhone.
iPadUnknown Yet unknown iPad.
iPodTouchUnknown Yet unknown iPodTouch.