public void ConfirmSaveCode()
    {
        ProgrammingEnv.GetComponent <SaveLoadCode>().BESaveCode(FullPath);
        gameObject.SetActive(false);

        CloseConfirmSavePanel();
    }
    public void Load()
    {
        string fullPath;

        if (TextInput.Length > 0)
        {
            fullPath = SavedCodesPath + TextInput;

            ProgrammingEnv.GetComponent <SaveLoadCode>().BELoadCode(fullPath);
            gameObject.SetActive(false);
        }
    }
    public void CloseConfirmDeletePanel()
    {
        if (ProgrammingEnv.GetComponent <SaveLoadCode>().dialogOption == DialogOptions.save)
        {
            transform.GetChild(3).gameObject.SetActive(true);
        }
        if (ProgrammingEnv.GetComponent <SaveLoadCode>().dialogOption == DialogOptions.load)
        {
            transform.GetChild(4).gameObject.SetActive(true);
        }

        transform.GetChild(5).gameObject.SetActive(true);
        transform.GetChild(6).gameObject.SetActive(true);
        transform.GetChild(8).gameObject.SetActive(false);
    }
    public void ConfirmDeleteCode()
    {
        ProgrammingEnv.GetComponent <SaveLoadCode>().BEDeleteCode(FullPath);

        CloseConfirmDeletePanel();
    }