Hi there
I´m creating a Tool for Unity. Now i need the Horizontal Scroll View. But the content background of the view has the same color as the rest of the unity window.
This is my code right now:
// hide vertical scrollbar
GUIStyle verticalScrollbar = GUI.skin.verticalScrollbar;
GUI.skin.verticalScrollbar = GUIStyle.none;
// Create ScrollView
scrollPos = EditorGUILayout.BeginScrollView(scrollPos, true,false, GUILayout.Height(Screen.width), GUILayout.Height(150));
GUILayout.Label("Test");
EditorGUILayout.EndScrollView();
// restore vertical scrollbar
GUI.skin.verticalScrollbar = verticalScrollbar;
I want to make it darker (or better use a picture as tiled background)…
How can i change the background of the ScrollView?