Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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
1
Question by Rebel8909 · Jan 01, 2015 at 06:25 AM · guibox

How to make the GUI box corners sharper

I've been looking at the documentation, and from what I can tell it should be possible to make the corners sharper and more square, instead of the weird rounded boxes that is the default.

I can't seem to find any tutorials on it either. I'm sure it's super simple, so if you guys know of any tutorials or know who to make the boxes sharper that'd be great!

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
5
Best Answer

Answer by AcE_fLoOdEr · Jan 01, 2015 at 06:27 AM

simply go to the image component of the UI element, in the "source image" field click the little browsing circle next to the box and choose "None" as the option. Voila.

alt text


screenshot.png (278.5 kB)
Comment
Add comment · Show 7 · 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 Rebel8909 · Jan 01, 2015 at 06:30 AM 0
Share

Oh my god are you serious? That's freaking amazing! Thanks for the help haha.

avatar image AcE_fLoOdEr · Jan 01, 2015 at 06:31 AM 0
Share

Anytime haha xD

avatar image Rebel8909 · Jan 01, 2015 at 06:36 AM 0
Share

Ah, now that I look at it, that's not exactly what I was thinking about. But I see how it works. I'm guessing you have set up so that the GUI will try and access and image? And so if it's empty then it'll just default to the square.

Am I correct?

avatar image AcE_fLoOdEr · Jan 01, 2015 at 06:37 AM 0
Share

Yep. If you choose "None" as the source image, it will be the square. The back button that you see in my menu is the result of not having a source image in the button image component. If you are using 4.6 GUI you should get same results.

avatar image Rebel8909 · Jan 01, 2015 at 06:40 AM 0
Share

Ah sweet, is that just an empty game object or is it something else like a cube or a prefab?

Show more comments

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Editing certain words in a single NGUI Text Box 0 Answers

How to render a colored 2D rectangle. 6 Answers

Problems with simple dialogue 0 Answers

GUI.Button on MouseHover 1 Answer

Trouble Positioning a GUILayout.Label, or as a button? 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