Version: 2019.2

EditorGUIUtility.GetObjectPickerObject

Switch to Manual
public static Object GetObjectPickerObject ();

Description

The object currently selected in the object picker.