This version of Unity is unsupported.

CustomEditor Constructor

Declaration

public CustomEditor(Type inspectedType);

Declaration

public CustomEditor(Type inspectedType, bool editorForChildClasses);

Parameters

inspectedType Type that this editor can edit.
editorForChildClasses If true, child classes of inspectedType will also show this editor. Defaults to false.

Description

Defines which object type the custom editor class can edit.

See Also: Editor class.