This version of Unity is unsupported.
Method group is Obsolete

CustomEditorForRenderPipelineAttribute Constructor

Obsolete CustomEditorForRenderPipelineAttribute is deprecated. Use CustomEditor with SupportedOnCurrentPipeline instead. #from(2023.1).

Declaration

public CustomEditorForRenderPipelineAttribute(Type inspectedType, Type renderPipeline);
Obsolete CustomEditorForRenderPipelineAttribute is deprecated. Use CustomEditor with SupportedOnCurrentPipeline instead. #from(2023.1).

Declaration

public CustomEditorForRenderPipelineAttribute(Type inspectedType, Type renderPipeline, bool editorForChildClasses);

Parameters

inspectedType Type that this editor can edit.
renderPipeline Type of RenderPipelineAsset that that should be active for this inspector to be used.
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.

Additional resources: Editor class.