ドキュメント

Unity Engine

Unity Engine

CustomEditorForRenderPipelineAttribute

Defines which object type the custom editor class can edit.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Constructor
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

CustomEditorForRenderPipelineAttribute(Type, Type)

Defines which object type the custom editor class can edit.
注意
Deprecated. CustomEditorForRenderPipelineAttribute is deprecated. Use CustomEditor with SupportedOnCurrentPipeline instead. #from(2023.1)
public CustomEditorForRenderPipelineAttribute(Type inspectedType, Type renderPipeline)

Parameters

inspectedType

Type that this editor can edit.

renderPipeline

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.
注意
Deprecated. CustomEditorForRenderPipelineAttribute is deprecated. Use CustomEditor with SupportedOnCurrentPipeline instead. #from(2023.1)
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.

Remarks

Additional Resources: Editor class.