示例#1
0
    private static void OpenWindow()
    {
        FunctionGraphEditor window = GetWindow <FunctionGraphEditor>();

        window.titleContent = new GUIContent("Function Graph Editor");
        window.Initialize();
    }
示例#2
0
    public static FunctionGraphEditor OpenEditorWindow()
    {
        FunctionGraphEditor window = GetWindow <FunctionGraphEditor>();

        window.titleContent = new GUIContent("Function Graph Editor");
        window.Initialize();
        return(window);
    }