Weirdest thing. I can get these to work fine in pop up editor windows, but the exact same code just does nothing when used in an inspector editor. What do I need to do differently?
m_ResetSpot = EditorGUILayout.ObjectField( "Reset Spot: ", m_ResetSpot, typeof( Transform ) ) as Transform;
I’m writing a custom editor with buttons and displays and fancy stuff, and I want to also have a drag-a-prefab target for something to instantiate later. Like when you just do “public Transform m_ResetSpot” as a variable declaration when you don’t have a custom editor.