Version: 2017.3

EditorWindow.FocusWindowIfItsOpen

매뉴얼로 전환
public static void FocusWindowIfItsOpen (Type t);

파라미터

t The type of the window. Must derive from EditorWindow.

설명

Focuses the first found EditorWindow of specified type if it is open.

If there is no open window of such type, nothing happens.


public static void FocusWindowIfItsOpen ();

파라미터

T The type of the window. Must derive from EditorWindow.

설명

Focuses the first found EditorWindow of type T if it is open.

If there is no open window of such type, nothing happens.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961