Let’s say you have a GUILayout.BeginHorizontal() and GUILayout.EndHorizontal(). You want to vertically center all of the content in that horizontal. How can this be achieved?
GUILayout.BeginHorizontal();
GUILayout.BeginVertical();
GUILayout.FlexibleSpace();
GUI.Something
GUILayout.FlexibleSpace();
GUILayout.EndVertical();
GUILayout.EndHorizontal();
Or through the variable alignement of the style.