So, the documentation is really lacking on it’s information on how to implement customStyles.
Some background on what I’m doing : I made a new skin. Made some stuff in the skin, such as a custom button and label. But I need more than one type of button. So, I’m assuming customStyles allows you to do this. If not, please correct me – I’m clueless with some of Unity’s advanced GUI features.
In Custom Styles, I have defined a new type of button. How do I access that through scripting?
This is what I have right now :
GUI.skin.customStyles = new GUIStyle[1];
GUIStyle[1].attackbutton(menuButtonSize, "");
I’m completely guessing on what to do here – the documentation isn’t helping at all. Any insight would be great ![]()