Esempio n. 1
0
    private void openVIDE_Editor(string idx)
    {
        if (d != null)
        {
            loadFiles();
        }

        VIDE_Editor editor = EditorWindow.GetWindow <VIDE_Editor>();

        editor.Init(idx, true);
    }
Esempio n. 2
0
    private void openVIDE_Editor(int idx)
    {
        if (!Directory.Exists(Application.dataPath + "/" + VIDE_Editor.pathToVide + "VIDE"))
        {
            Debug.LogError("Cannot find VIDE folder! If you moved the VIDE folder from the root, make sure you set the 'pathToVide' variable in VIDE_Editor.cs");
            return;
        }

        VIDE_Editor editor = EditorWindow.GetWindow <VIDE_Editor>();

        editor.Init(idx);
    }
Esempio n. 3
0
    static void ShowEditor()
    {
        if (!Directory.Exists(Application.dataPath + "/" + pathToVide + "VIDE"))
        {
            Debug.LogError("Cannot find VIDE folder at '" + Application.dataPath + "/" + pathToVide + "VIDE" + "'! If you moved the VIDE folder from the root, make sure you set the 'pathToVide' variable in VIDE_Editor.cs");
            return;
        }

        VIDE_Editor editor = EditorWindow.GetWindow <VIDE_Editor>();

        editor.Init(0);
    }