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

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

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