- Home /
iPhone Generation iPad3
This is very urgent question. I'd like to know the numeric value of the iPhoneGeneration.iPad3Gen. Looking forward to hear any advices from you. Thanks.
Answer by Fattie · Sep 23, 2012 at 03:30 PM
You could say please! :)
I think it's 12, but why would you want to know? Just use it to compare.
Dont forget it's just a constant.
Also ... why couldn't you just print it yourself ?!! Heh !
var x:int;
x = 0 + iPhoneGeneration.iPad3Gen;
Debug.Log("iPhoneGeneration.iPad3Gen is " +iPhoneGeneration.iPad3Gen);
Debug.Log("x is " +x);
output....
iPhoneGeneration.iPad3Gen is iPad3GenControl.js Line: 47)
x is 12
Great! I'll check it out and accept your answer. Thanks a lot.
I'm using your method here and it is working perfect for me.
Your answer
Follow this Question
Related Questions
ipad and new ipad frame 0 Answers
Is Screen.Heigth a good way to id the iPhone generation? 1 Answer
Does Unity3 iOS support all generations of iPod/iPhone? 2 Answers
Can you change the iPhone generation that is used when running in Unity iPhone? 1 Answer
Mesh building changes in Unity 3.5.6 0 Answers