예제 #1
0
 public static void DrawMemberField(this Connector connector, params GUILayoutOption[] options)
 {
     DrawMemberField(connector, new GUIStyle("MiniPullDown"), options);
 }
예제 #2
0
 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);
 }