Hello!
I tried this: colPreviousGUIColor = GUI.color; in start()
and in OnGui() I have this:
GUI.DrawTexture(Rect(Screen.width-205,Screen.height-195,60,60), ceas, ScaleMode.StretchToFill, true, 10.0f);
GUI.depth = 1;
GUI.color = new Color(colPreviousGUIColor.r, colPreviousGUIColor.g, colPreviousGUIColor.b, opacitate);
Even if I change the “opacitate” variable, the opacity it’s same.
Also I tried GUI.color.a = opacitate, but neither this not worked too.
What can I do?
Thanks!