- Home /
Determine iPhone Type (3G vs 3GS)
Is there a way to tell the difference between a 3G and a 3GS from within script? More generally, is there a way to determine the exact hardware/device type the game is currently runnning on?
Currently I use the resolution and that only tells me whether it's iPhone 4 vs 3G/3GS.
Comment
Answer by Doolwind · Nov 27, 2010 at 09:00 AM
Finally found the answer, just after posting here :)
http://unity3d.com/support/documentation/ScriptReference/iPhoneGeneration.html
Your answer
Follow this Question
Related Questions
Sending device info via WWW for Unity iPhone or Android 1 Answer
Mobile Device Video Camera 1 Answer
Editor Play game as device 0 Answers
Detect device and adjust screen 2 Answers
Accessing the (physical) volume buttons on iPhone or Android 2 Answers