public GUIStyle m_PreviewBox = new GUIStyle ("OL Box");
public GUIStyle m_PreviewTitle = new GUIStyle ("OL Title");
public GUIStyle m_LoweredBox = new GUIStyle ("TextField");
public GUIStyle m_HelpBox = new GUIStyle ("helpbox");
But where are “OL Box”, “OL Title”, “TextField” and “helpbox” come from??I can’t find them from document.
GUIStyle’s construct functions don’t has string argument.
Any one can help me? Please.
Strings can always be used for the GUIStyle, (e.g., GUILayout.Label(“Abc”, “button”)), so using a string in the constructor is the same as using a GUIStyle. Those particular GUIStyles are presumably in the GUISkin for whatever project that code is from.