public static Component SelectComponentFromSourceField(GUIContent label, GameObject source, Component selectedComp, System.Predicate <Component> filter = null) { var position = EditorGUILayout.GetControlRect(true); return(SPEditorGUI.SelectComponentFromSourceField(position, label, source, selectedComp, filter)); }