Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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
  • Home /
avatar image
0
Question by IAmJeff · Jan 27, 2015 at 04:55 PM · uicanvasscreen resolution

screen resolution and canvas UI

I noticed when created my canvas UI's (ex. buttons, sliders, etc.) and then manually adjusted the screen size. The UI's doesn't scale properly. How do I apply a fixed screen resolution, where the UI's scales accordingly?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by team_eden · Jan 27, 2015 at 05:37 PM

Add to your Canvas a component type Canvas Renderer, and set the resolution manually. This will scale the way you describe when done properly. You need to reference the unity docs regarding UI.Canvas http://unity3d.com/learn/tutorials/modules/beginner/ui/ui-canvas and here http://docs.unity3d.com/ScriptReference/UI.CanvasScaler.html

Good luck

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image IAmJeff · Jan 27, 2015 at 06:01 PM 0
Share

When I went to file > build settings > player settings and change the default resolution of the web player to 1024 x 768 and build and run. The web player is automatically adjusting itself to a square resolution. What's going on?

avatar image team_eden · Feb 08, 2015 at 07:03 PM 0
Share

Unity allows the user to set a default resolution unless you disable the front end loader. You should anticipate that your users will use basically any screen size, and adjust accordingly.

Check the html side of your webplayer, and make sure you have not conformed the java/applet frame somehow. Check your canvas scaler settings, also check that our game output display has been set to 1024x768, otherwise it is You who has been designing in the wrong scale! (>.<) All the best!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

18 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

For Scale with sreen size for canvas in unity3d, my sprites in Ui are pixelated when used for larger sceens 0 Answers

How to make game objects in the game scene proportionally adjust position for different screen sizes? 1 Answer

Ui scaling 1 Answer

Unity 5 UI GUI Text Canvas Screen Resolution Adaption Problem 2 Answers

I Have a Button in Canvas, i Click anywhere except the button and it gets clicked 0 Answers


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