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