public int CompareTo(GUIResource obj) { return(string.Compare(name.text + style.name, obj.name.text + style.name, System.StringComparison.Ordinal)); }
public bool Equals(GUIResource obj) { return(name.text == obj.name.text); }