I have a slider and I’d really like to Know how to change, for example the r component of the general color in my game, just like a setting, for example making it all red or black.
Thus I think I should use Color.r,g,b,a , but it seems not working. Please, help me !!
GUILayout.BeginHorizontal(); Color.r = GUILayout.HorizontalSlider(red,0.0, 100.0); GUILayout.EndHorizontal();