Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My project has multiple skins and sometimes we have to deal with skins with many custom styles. Editing them in the editor is difficult, for instance, I cannot delete one style that is not the last one without deleting the ones after it.

Would there be a way to edit a file that represents this skin?

Could I edit a skin file if I use Text in the Asset Serialization Mode (Unity Pro)?

If not, is there something in the Unity Store to help me better edit skins?

share|improve this question
up vote 2 down vote accepted

Yes, using the text serialization (a flavor of YAML) will allow you to hand edit the file (but you'll need to be incredibly careful). I think text asset serialization is available in the free version of Unity now.

You can also write an Editor script that iterates of the fields of the GUISkin.

Here's a script I wrote to merge multiple GUISkins into a single GUISkin with multiple custom styles:

share|improve this answer

You can simply delete styles by selecting them (click the foldable header line) and press the DEL-button ;) This is valid for all arrays viewed in the inspector. If the array hold references to other assets pressing delete will just "null" the element. In this case you have to use Shift+DEL.

You can also duplicate an element be pressing CTRL+D. This will duplicate the current element and insert it right below the original. You almost never need to adjust the size value manually since you can easily add and remove elements. The only thing that is missing is reordering the elements.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.