ドキュメント

Unity Engine

Unity Engine

CustomEditorForRenderPipelineAttribute

Tells an Editor class which run-time type it's an editor for when the given RenderPipeline is activated.
読み終わるまでの所要時間 3 分最終更新 1ヶ月前

Definition

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

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