Hi,
Today I ran into a problem whereby I was drawing a GUI label that I want to have a different colour on hover to it’s normal state. Following the usual steps I altered the style in the GUI skin to have a different hover text colour expecting this to work. However it does not. The colour remaining the same even on hover. My draw code is fairly simple, akin to:
GUI.Label(rect,text,style);
So nothing wrong here. After playing around a bit I put in a background texture on the hover in the style to see if this made a difference and low and behold the text colour changed! I do not want a texture though so instead I created a 1×1 pixel texture which is completely alphaed out and used that as a background texture. Naff and pretty hidden behaviour but thats the workaround I found.
Also you need to change the drawing code to draw the item as a GUI.Button instead of a Label.