- Home /
Question by
Siflou · Oct 22, 2013 at 07:19 PM ·
screenscreen resolutionwidth
Screen.width and Screen.currentResolution returning unwanted value
Hey guys,
So I'm testing my game with the resolution ipad wide(1024x768) selected in unity under the resolution menu. I need to move a gameobject to the left of the screen (-512) for me so i would divide 1024 by 2 to get it, but neither Sreen.width or Screen.currentResolution return the good values for it. In fact Screen.width returns 744. Does any one have an idea for this.
Thanks a lot for your time !
Claude
Comment
Your answer
Follow this Question
Related Questions
Object resolution 0 Answers
behavior of Screen object differs in Unity 3 1 Answer
Android: ScreenResolution/Scaling Script 0 Answers
Flipped resolution ?! 3 Answers
GameObject or Screen Size Shrink? 1 Answer