/// <summary>Initializes the struct with default values.</summary> public static GUIContent Default() { GUIContent value = new GUIContent(); value.text = null; value.images = GUIContentImages.Default(); value.tooltip = null; return(value); }
/// <summary>Constructs content with a string and a tooltip.</summary> public GUIContent(LocString text, LocString tooltip) { this.text = text; this.images = GUIContentImages.Default(); this.tooltip = tooltip; }