static public T GetAttachment <T>(this EditorGUIElement item) { return(item.GetAttachments <T>().GetFirst()); }
public IEnumerable <EditorGUIElementAttachment> GetAttachments() { return(element.GetAttachments()); }
static public IEnumerable <T> GetAttachments <T>(this EditorGUIElement item) { return(item.GetAttachments().Convert <EditorGUIElementAttachment, T>()); }