public static void DrawMemberField(this Connector connector, params GUILayoutOption[] options) { DrawMemberField(connector, new GUIStyle("MiniPullDown"), options); }
public static UnityEngine.Object DrawTargetField(this Connector connector, bool allowSceneObjects, params GUILayoutOption[] options) { connector.target = EditorGUILayout.ObjectField(connector.target, typeof(UnityEngine.Object), allowSceneObjects, options); return(connector.target); }