Version: 2022.2
public Type editorWindowType ;

描述

Defines which EditorWindow type the overlay is used in.

To make an overlay available in all Editor windows, specify EditorWindow as the type. To make the overlay available in the Scene view only, set SceneView as the type. If you omit this property, then you must instantiate the overlay with SceneView.AddOverlayToActiveView or OverlayCanvas.Add.