- Home /
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.
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.
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...
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.
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
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
![](https://koobas.hobune.stream/wayback/20220613174114im_/https://answers.unity.com/themes/thub/images/avi.jpg)