Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CustomEditorForRenderPipelineAttribute

Tells an Editor class which run-time type it's an editor for when the given RenderPipeline is activated.
Read time 3 minutesLast updated 4 days ago

Definition

Warning
Deprecated. CustomEditorForRenderPipelineAttribute is deprecated. Use CustomEditor with SupportedOnCurrentPipeline instead. #from(2023.1)
[AttributeUsage(AttributeTargets.Class)]public class CustomEditorForRenderPipelineAttribute : CustomEditor, _Attribute

Remarks

When you make a custom editor for a component that changes based on the active RenderPipeline you need to put this attribute on the class.
Additional Resources: Editor class.

Constructors

Constructor

Description

CustomEditorForRenderPipelineAttribute(System.Type,System.Type)Defines which object type the custom editor class can edit.
CustomEditorForRenderPipelineAttribute(System.Type,System.Type,System.Boolean)Defines which object type the custom editor class can edit.

Inheritance

Inherited Members