Example #1
0
 static public T GetAttachment <T>(this EditorGUIElement item)
 {
     return(item.GetAttachments <T>().GetFirst());
 }
Example #2
0
 public IEnumerable <EditorGUIElementAttachment> GetAttachments()
 {
     return(element.GetAttachments());
 }
Example #3
0
 static public IEnumerable <T> GetAttachments <T>(this EditorGUIElement item)
 {
     return(item.GetAttachments().Convert <EditorGUIElementAttachment, T>());
 }