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
1
Question by Hotshot10101 · Dec 15, 2014 at 05:57 PM · guiunity 4.6skintheme

Unity 4.6 GUI Themes or Skins

I have not seen anything in the documentation, so I am asking here.

Is there a way to create a theme or skin in the new GUI? I would like to set things like button colors, background images and that sort of stuff in a theme so that changing the theme changes the whole GUI.

It would be nice if it also allowed more advanced things like positioning, but I know that is a lot to ask.

Just being able to select a color for backgrounds and text and then images for those kinds of things would go a long way.

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

Answer by Kiwasi · Dec 15, 2014 at 06:08 PM

There is no direct implementation of the legacy skins in UI.

The good new is this can all be replaced by prefabs.

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 Hotshot10101 · Dec 15, 2014 at 06:14 PM 0
Share

Thank you for the quick reply.

I knew that there was not a way to implement legacy skins in the new UI.

I am not sure I understand what you mean by using prefabs, however. I supposed I could build up a button prefab and then reuse it. That might work for most cases.

On the other hand I am thinking more in terms of abstracting things like colors and images that are used across primitive types.

For example the background color that will be used in text input and buttons. I am wondering how hard it would be to make a background that would work for both.

Do I make a generic object that is a simple background prefab and then somehow use that as the back most object for the button and text input?

I will have to play around with this.

Thanks...

avatar image Hotshot10101 · Dec 15, 2014 at 06:14 PM 0
Share

I am marking this as an answer because it does answer the question that there are NO themes or skins per se in the new UI.

avatar image Kiwasi · Dec 15, 2014 at 06:35 PM 0
Share

Lack of skinning ability is a current gap in the UI tools. At the moment you have these options.

  • Draw a new UI for each skin

  • Use unique prefabs for each skin

  • Change the parameters on every UI element for each skin

avatar image zenasprime · Mar 24, 2015 at 07:58 PM 0
Share

Is there documentation for how to go about using a prefab for a UI button? I'm not understanding the answer as give either. Some kind of example would help.

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

29 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Embed GUI Skin in GUI Button 2 Answers

unity make a skin/texture to a character like the robot from the fps tutorial 1 Answer

Where is the directory for GUI skin 0 Answers

JavaScript OnGUI GuiSkins aren't working, multiple scripts 1 Answer

GUI Skin Custom textures in C# 2 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