|
Hello. I am using this code for a load bar I've tried using the GUI.color codes up above to change colors, but they don't change the texture2d colors. Is there a way to change the bar's colors? And if so, then how do I plug it in? It's a bother because right now it is a dark gray color, and when it turns to night in my game or I am in dark area, you can't see the bar. I have two bars like this, and one I use for elemental attacks, the other is a force attack load bar. I really need to be able to change their colors specifically. Thanks for any help!
(comments are locked)
|
|
You can change single pixels or blocks of pixels using the Texture2D functions (especially SetPixels, GetPixels), but I think for a progress bar there are much better solutions. I have no idea how they set that up in the docs, let alone how to apply the examples they gave to the code I am working with. Could you please provide an example? Why doesn't the load bar just change colors with the rest of buttons/texts with Gui.color commands anyway? Isn't the bar a gui built item?
Aug 02 '11 at 04:34 AM
superventure
(comments are locked)
|
