CustomEditorForRenderPipelineAttribute
Defines which object type the custom editor class can edit.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Constructor
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
CustomEditorForRenderPipelineAttribute(Type, Type)
Defines which object type the custom editor class can edit.
public CustomEditorForRenderPipelineAttribute(Type inspectedType, Type renderPipeline)
Parameters
Type that this editor can edit.
Type of RenderPipelineAsset that that should be active for this inspector to be used.
Remarks
Additional Resources: Editor class.
CustomEditorForRenderPipelineAttribute(Type, Type, bool)
Defines which object type the custom editor class can edit.
public CustomEditorForRenderPipelineAttribute(Type inspectedType, Type renderPipeline, bool editorForChildClasses)
Parameters
Type that this editor can edit.
Type of RenderPipelineAsset that that should be active for this inspector to be used.
If true, child classes of inspectedType will also show this editor. Defaults to false.
Remarks
Additional Resources: Editor class.