hi,
I need help on customizing the build-in GUI styles. I want to use different styles for different toggle buttons, that means some will follow the default GUI.skin.toggle and others will following GUIStyle myToggle defined by myself. However, when I included the following in Start(), the toggles using myToggle were not functioning anymore.
myToggle = new GUIStyle();
myToggle.normal.textColor = Color.white;
myToggle.onNormal.textColor = Color.red;
myToggle.onHover.textColor = Color.red;
How should I do this? Your helps are greatly appreciated.
Jason