//----------------------------------------------------------------------------------------------------------------------------------------------//

    public void ConfirmChanges()
    {
        pictureManager.SetNewPictureID();

        if (newUsername.text != "")
        {
            SetInfoSingle("Username", newUsername.text);
            username.text    = newUsername.text;
            newUsername.text = "";
            if (newPIN.text.Length == 4)
            {
            }
            else
            {
            }
            GetComponent <UserAuthentication> ().ChangePassword();
        }
        else
        {
            GetComponent <UserAuthentication> ().ChangePassword();
        }

        menuNav.SetSubMenu(0);
    }
Exemple #2
0
    //----------------------------------------------------------------------------------------------------------------------------------------------//

    public void SendInformation()
    {
        projectPage.RecieveInformation(projectName, groupName, projectDescription, projectFundAmount, projectFundGoal, goalTitles, goalValues, projectPicture);
        canvas.SwitchSubPanels(projectPage.gameObject);
        canvas.SetSubMenu(2);
    }