Editor class with default inspector

Is it possible to create an editor class that uses the default inspector? For example, I’ve created an editor that only needs to handle OnSceneGUI, but it overrides OnInspectorGUI as well and results in a blank inspector. Thanks!

@CustomEditor(SpriteLight)
class SpriteLightEditor extends Editor {
	function OnSceneGUI() {
		Handles.Disc(Quaternion.identity, target.transform.position, Vector3.forward, target.range / 2, false, 0);
	}
}

Hi - your question has been referred to a member of the Unity development team. You should get an answer shortly.

It is currently not possible to invoke the default inspector, but functionality for this will come in the next version of Unity.

Good to know, I’m looking forward to it

Since these posts are from 2009, I assume that functionality already exists? I cannot find any documentation about it.

I think by default it should still draw the default inspector unless you specifically override OnInspectorGUI().

However, if that’s not happening for you then you can simply use this to manually draw the default inspector: