ObjectField is Marked as depreciated until additional parameters are added. Two version of this method exist however the one that not depreciated is not suggested for code edits.
Create new C# script: ObjectFieldTesting and add the below code
using UnityEditor;
using System;
public class ObjectFieldTesting : Editor
{
public override void OnInspectorGUI()
{
Object currentValue = new Object();
Type type = typeof(int);
base.OnInspectorGUI();
EditorGUILayout.ObjectField();
EditorGUILayout.ObjectField((UnityEngine.Object) currentValue, type, true);
}
}
Then move your mouse cursor over the incomplete EditorGUILayout.ObjectField(); method and note the tooltip- [depreciated]UnityEngine....
Expected result: ObjectField is recognized as the non-depreciated version of the method and parameters are suggested
Actual Result: The depreciated version is instead shown and no guidance on creating an ObjectField is given