- Home /
Answer by Nab · Jan 31, 2011 at 06:13 PM
Yes,
One way is to have an array of textures:
public var toolbarImages : Texture[];
Set these in the Inspector and they will show over your buttons on the toolbar. Mess with your GUISkin Styles to get to display how you want.
I reccomend setting up a custom style and applying it to the toolbar, in which you remove the background and can tweak to your hearts content without messing up any of your other GUI buttons. Something like this, where customGuiStyle is the name of the custom style set up in your GUISkin:
GUILayout.Toolbar (toolbarInt, toolbarImages, "customGuiStyle");
Hope this helps.
Your answer
Follow this Question
Related Questions
Hover state doesn't work on slider with custom styles 0 Answers
[Closed]Custom Image On Gui.Box 1 Answer
Customising a GUI Slider? 1 Answer
Unselecting a toolbar 1 Answer