So im making an iphone UI with EZ GUI and on one of my UIPanels I have a unity GUI scrollview. It works fine on the simulator but on iPhone 4 it has moved position and on iPhone3 its nowhere to be seen! Does anyone have any suggestions?
iPhone4 has a different resolution than the 3GS, you will either need to write the code to adopt to screen sizes or it will fail misserably on either of the two (not present on 3GS or only 1/4 of the screen on 4th gen)
how silly of me, of course, although im still abit confused that it looks perfect in the game view (aspect ratio set to iPhone4) but on the device its moved to a highly inappropriate place, also whats the syntax for a device check, something like this?
if(iPhoneGeneration.iPhone4 || iPhoneGeneration.iPodTouch4Gen)
{
//then do high res stuff
}
else
{
//then do low res stuff
}
ive sorted it now by getting the screen resolution then placing everything via percentages of the height and width, thanks for pointing me in the right direction!