Trouch
1
Hi
Is it possible to use one GuiSkin but have two button settings?
So that, i can pick between button1 or button2 textures.
Essentially customizing the GuiSkin further…
You have box, button, label, toggle… i want, box, button, button2, label, toggle…
Thankyou
You can add as much styles as you like to a GUISkin. Just take a look at the very bottom of the GUISkin. There’s an array with custom styles. MyGUISkin currently has 108 custom styles. I don’t use any of the default styles.
Keep in mind that you can simply use a custom style like this:
GUI.skin = mySkin;
// ...
GUILayout.Button("Button123", "MyCustomStyleName");