public static Component ComponentField(GUIContent label, Component value, System.Type inheritsFromType, bool allowSceneObjects) { var position = EditorGUILayout.GetControlRect(true); return(SPEditorGUI.ComponentField(position, label, value, inheritsFromType, allowSceneObjects)); }