Scripting API

GUISkin

class in UnityEngine · UnityEngine.IMGUIModule · inherits from ScriptableObject

27 of 27 of Unity's membersUnity's documentation
In Tassix

A set of styles for the controls. The built-in skin draws flat gray boxes and buttons (Unity's has textured, sliced ones).

Properties 23

GUIStyle box { get; set; }
GUIStyle button { get; set; }
GUIStyle[] customStyles { get; set; }
Font? font { get; set; }
GUIStyle horizontalScrollbar { get; set; }
GUIStyle horizontalScrollbarLeftButton { get; set; }
GUIStyle horizontalScrollbarRightButton { get; set; }
GUIStyle horizontalScrollbarThumb { get; set; }
GUIStyle horizontalSlider { get; set; }
GUIStyle horizontalSliderThumb { get; set; }
GUIStyle label { get; set; }
GUIStyle scrollView { get; set; }
GUISettings settings { get; }
GUIStyle textArea { get; set; }
GUIStyle textField { get; set; }
GUIStyle toggle { get; set; }
GUIStyle verticalScrollbar { get; set; }
GUIStyle verticalScrollbarDownButton { get; set; }
GUIStyle verticalScrollbarThumb { get; set; }
GUIStyle verticalScrollbarUpButton { get; set; }
GUIStyle verticalSlider { get; set; }
GUIStyle verticalSliderThumb { get; set; }
GUIStyle window { get; set; }

Methods 3

GUIStyle? FindStyle(string styleName)
IEnumerator<GUIStyle> GetEnumerator()
GUIStyle GetStyle(string styleName)

A style by name: the built-in ones (case doesn't matter), then customStyles; a warning and an empty style otherwise.