Make couple buttons (Don't know how, video inside)

Better video than anything…
Sorry for my pronunciation

Thanks!!

nobody? XD thanks

well i have made more guiskins, each per button and just later de button code line, i put: GUI.skin = null; and then one new GUISkin (GUI.skin = guiSkin2;)
but i don’t know if this method is going to cause problems, like for example for optimization

thanks

Good job on the video!

xD i made the video because its better to explain it with that form
thanks

When you code up your GUI skin, just add 1 to your Array size. This duplicates the bottom most definition in the currently selected style. Go ahead and rename it to say “Close Button” and when you invoke the Button function, simply add the style reference.

Second, if you have multiple skins and want to use them in different sections of your Script, you can simply override the skin definition in that section to the new one you want, or drop the skin entirely by setting the skin to null.

Also, here’s a tutorial from the Burzerg Hack n Slash series dedicated to GUI Skins and Styles, its concise and easily adaptable!

Hope this helps!