- Home /
Where can I find the textures from the default GUI Skin?
I created a new GUI Skin for my game and I am using it to display some nice Labels, Text Areas, etc. The problem is that I accidentally selected one of my existing textures for the Box -> Normal -> Background in the GUI Skin. And now, the default nice semi-transparent black "box" texture that was there before is nowhere to be found.
The same is true about any texture that comes with the default GUI Skin (e.g. textfield, textfield hover, textfield on, etc.) If you select None or any other texture for these, than the defualt texture that was there is gone forever (unless you create a new GUI Skin and do all your other settings all over again).
Are those default textures part of the Assets that come packaged with Unity? And if yes, where can I find them or how can I get access to them again if I deselected them in my GUI Skin?
Answer by jashan · Dec 04, 2009 at 11:34 AM
The textures are available in this thread on the forum. There's both the Photoshop source as well as a UnityPackage available for download there.
Thanks a lot! The download link is in the first post on that forum thread. For both PhotoShop files and Default Skin Unity package, there are two big download buttons in the right side of thier description.
Ah, I guess I edited my post while you were adding the comment. The first time I opened the forum posting, the two download links simply weren't there. I answered to the forum posting to bump it, and after that, the download links suddenly were there. So I deleted my "bump"-posting and edited my answer. Not sure if this has to do with using Google Chrome on $$anonymous$$ac; or maybe the download links "returning" because of the bump.
@Jashan I can't find any link on the forum link. Don't you think it would be much better to provide the links here in the answer ins$$anonymous$$d of linking to the forum! I know that many things are already covered in the forum but let's make this database better :)
You have to log in to the forum to find the attachments. As far as I can see, there's currently now way to add attachements to postings in Unity Answers, so for files, I think the forum is the only way to go. When you're not logged in to the forum, you don't see the attachments - but as soon as you log in, you'll see the two attachments right in the first posting (just ran into that myself ;-) ).
@Jashan, thank you for the tip. Next time just add @ symbol in comments in order to notify the user for the reply. Cause I missed this one..
Answer by PaulUsul · Sep 02, 2010 at 12:15 PM
It's now on the asset store http://u3d.as/content/unity-technologies/built-in-gui-skin/3yY
no worries, in Unity just click on the file menu click 'Window' -> 'Asset Store' -> Search for "Built-in GUI skin" Download and Import.
Answer by _MGB_ · Jan 27, 2011 at 04:42 PM
You could also restore them programatically by creating a new temp skin then copying things across from it with some temporary code. E.g.:
GUI.skin.GetStyle("button").normal.background = guiNewTempSkin.GetStyle("button").normal.background;
Your answer
Follow this Question
Related Questions
How to display textures that are in an array? 1 Answer
GUI box texture resizes itself 1 Answer
Problem With GUI Circle Thickness 0 Answers
9-Sliced Legacy GUI 2 Answers
GUI texture to change texture when hovered over or clicked? 2 Answers