ドキュメント

Unity Engine

Unity Engine

CustomEditor

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

Definition

public class CustomEditor : Attribute, _Attribute

Remarks

When you make a custom editor for a component, put this attribute on the editor class.
To set which
Editor
classes are active for the current Render Pipeline Asset, add a SupportedOnRenderPipelineAttribute underneath the attribute.
Additional Resources: Editor class, SupportedOnRenderPipelineAttribute.

Constructors

Constructor

Description

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

Properties

Property

Description

isFallbackIf true, match this editor only if all non-fallback editors do not match. Defaults to false.

Inheritance

Inherited Members