I’ve been using GUI.HorizontalScrollbar for a few things in my project.
I’ve been using GUI.backgroundColor to color each GUI.HorizontalScrollbar differently.
At their brightest values, the color for each GUI.HorizontalScrollbar was still WAY too dark (a pure [1f,1f,1f] white looks like a mid-range gray because of how Unity shades it), so I decided to try out GUISkins and GUIStyle but apparently, I ended up removing the borders of the default HorizontalScrollbar.
Not only am I nowhere near fixing my issue of trying to brighten the GUI.HorizontalScrollbar, but now I can’t find a way to bring the borders back.
None of the documentation I’ve found concerning GUISkins and GUIStyles makes any lick of sense and everything that I’ve found so far has nothing to do with either:
- Colour of the GUI.HorizontalScrollbar (I need to make it brighter).
- The border of the GUI.HorizontalScrollbar (I need the user to see where the bar potentially ends).
I can’t give any code examples because I don’t have any code that alters any of it (except GUI.backgroundColor like I mentioned earlier) and I have no idea where to start looking for fix the issue. It’s as if GUISkin and/or GUIStyle saves changes in the background somewhere and I can’t access the info… when I look online for info on the GUIStyles, it shows a bunch of parameters but none of the them seem to refer to the border or the color of the GUI.HorizontalScrollbar.
I am completely confused and lost.