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 Makatralsy · May 01, 2015 at 01:20 AM · uiresolutionpositioningunityui

UI is positiont different when game is build.

Hello guys i am making an RPG, now i want to create bars for health, hunger,stamina etc. I have all the UI elements how i want them in the editor but when i build and play the game they don't show up. I have found out that when i move the UI out of the canvas it will shpw up in the build, but not in de editor. I don't want to keep building the game to check my UI. Does someone know what to do. (My editor is set to the same resolution as my build)

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
1

Answer by DoTA_KAMIKADzE · May 01, 2015 at 01:56 AM

Most likely you will be pleased with my answer OVER HERE. But in case you'll want to use constant physical/pixel size - firstly watch tutorials provided in link above^ to understand anchoring system and then just set your resolution in Game view according to the one you need in order to see your positioning accurately.

Comment
Add comment · Show 4 · 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 Makatralsy · May 01, 2015 at 09:33 AM 0
Share

Thank you for a usefull answer!! :-)

avatar image Makatralsy · May 08, 2015 at 11:41 AM 0
Share

Hell0 DoTA_$$anonymous$$A$$anonymous$$I$$anonymous$$ADzE, i have tried all the things the documentation says about the GUI, i've also looked at the other question under the link OVER HERE, but the GUI is positioned at the right place in de build but in the game view in unity it self the GUI is positioned lower then i want. i have been brainstor$$anonymous$$g for the last couple of days about this problem and i really want to continue my game and not having to worry about GUI. all help is welcome. (if someone needs a screenshot of my stuff just ask and i will put some up)

avatar image Makatralsy · May 08, 2015 at 11:58 AM 0
Share

ps. for this project i still use the old GUI system if the script is needed to solve my answer i will happily put it up.

avatar image DoTA_KAMIKADzE · May 08, 2015 at 03:04 PM 0
Share

GUI is a whole different story, that one you should position and resize manually depending on Screen variables (e.g. if you want your GUI to be at center then position it at ((Screen.width/2) - (yourGUIwidth/2)) and so on).

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Multi resolution GUI From 1920x1080 source to all lower resolutions (canvas scaler dead end) 0 Answers

How to make multiple UI buttons clickable (or in this case tapable) at once. 0 Answers

Canvas is low resolution unless paused and resumed 0 Answers

Larger phone sizes cant detect input 2 Answers

Unity UI slow?(WaitingForJob and Canvas.RenderOverlays related problem) 1 Answer


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