SerializedDataEditorWindow<TObject, TData>.

Open<TWindow>(TObject, bool, Type[]) Method

Summary

Opens a new TWindow for the `sourceObject` or gives focus to an existing window that was already displaying it.

Syntax

public static TWindow Open<TWindow>(TObject sourceObject, bool onlyOneWindow = false, params Type[] desiredDockNextTo) 
    where TWindow : SerializedDataEditorWindow<TObject, TData>

Type Parameters

Name Description
TWindow

Parameters

Name Type Description
sourceObject TObject
onlyOneWindow bool
desiredDockNextTo Type[]

Return Value

Type Description
TWindow