- Home /
Question by
TurboHermit · Dec 19, 2012 at 11:41 AM ·
iosbuildbooleandevice
What device is being used?
Is there a way to differentiate between iPhone and iPad by the use of a boolean? I want to rescale my interface elements and button location I initially tested on the iPhone and want to port to the iPad without making a different build.
Comment
Best Answer
Answer by liszto · Dec 19, 2012 at 01:10 PM
You can use this : http://docs.unity3d.com/Documentation/ScriptReference/iPhoneGeneration.html
I think you can do something with that ;)
Your answer
Follow this Question
Related Questions
Do unity ads work on test iphone with no sim card? 0 Answers
Distribute terrain in zones 3 Answers
[IOS} Build crashes on device 1 Answer
Mobile device screen sizes 4 Answers