• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Screen.width

Cancel

Cancel

Unanswered Questions

  • All Questions
avatar image

HombreCubo asked

When compiling the game and testing it on any smartphone, the screen narrows.

Jul 12, '20 in Help Room

0 Replies

0 Votes

avatar image

Mlorenz821 edited

Difference between Screen.height / width and EditorWindow.position.width / height

Nov 11, '19 editor-scripting·editorwindow·screen.width·screen.height

0 Replies

0 Votes

avatar image

FutureLights asked

Scale game vertically only

Sep 23, '19 camera·2d game·scale·screen.width

0 Replies

0 Votes

avatar image

$$anonymous$$ commented

I know how to turn car left and right, but I dont know how to reverse. please help. thanks.

Apr 29, '19 car·reverse·touchcount·screen.width·gettouch

0 Replies

0 Votes

avatar image

H3ll0VR asked

Screen.width/Screen.height not working with multiple resolutions

Jan 23, '19 ui·screen resolution·screen size·screen.width·screen.height

0 Replies

0 Votes

avatar image

Reverend-Speed asked

Why is my orthographic camera not resizing according to resolution / aspect?

Jan 1, '19 aspect-ratio·localscale·orthographic camera·screen.width·screen.height

0 Replies

0 Votes

avatar image

kashif789us asked

Capture screenshot of a Particular Area on screen

Jan 18, '16 in Help Room

0 Replies

0 Votes

avatar image

BlazingRiver asked

Does Screen.width Recognise the iPhone 6 Plus Downscaled Resolution, or the Rendered One?

Mar 31, '15 ios·resolution·screen.width

0 Replies

0 Votes

avatar image

JayOhhh commented

Scaling GUIText for all resolutions.

Jun 13, '14 screen.width·screen.height

0 Replies

0 Votes

avatar image

diogm published

Positioning across various resolutions

May 30, '14 objects·positioning·screen.width·screen.height

0 Replies

0 Votes

avatar image

vvkkumar06 asked

How to resize a normal image then apply as a texture for GUI.Box()?

May 27, '14 texture2d·resize·screen.width·screen.height·guibox

0 Replies

0 Votes

avatar image

Eluate commented

Object not centering with screen.width/2

Apr 14, '14 c#·camera·vector3·transform.position·screen.width

0 Replies

0 Votes

avatar image

mormonspam asked

How to place objects at edge of screen for mobile devices

Mar 3, '14 android·iphone·edge detection·screen.width

0 Replies

0 Votes

avatar image

Dalmia published

resolution issue on Samsung S3

Jan 18, '13 resolution·screen.width

0 Replies

0 Votes

avatar image

ina edited

Unity 3.5.7 Android Screen returns the wrong value?

Dec 26, '12 android·screen·screen.width·screen.height

0 Replies

0 Votes

Unity Answers is in Read-Only mode

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta by June 9. Please note, Unity Answers is now in read-only so we can prepare for the final data migration.

For more information and updates, please read our full announcement thread in the Unity Forum.

Related Topics

screen.height screen android screen resolution screen size camera resolution c# orientation positioning touch input guilayout transform.position drawtexture vector3 scale texture2d landscape aspect-ratio gui.box resize iphone 2d horizontal-slider


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges