CustomEditorForRenderPipelineAttribute Constructor
public CustomEditorForRenderPipelineAttribute(Type inspectedType,
Type renderPipeline);
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.
See Also: Editor class.