Esempio n. 1
0
    public void HideSignUpCanvas()
    {
        signUpErrorMessage.SetActive(false);
        //clear all the input fields
        signUp_loginInput.ClearTMProInputField();
        signUp_mailAddressInput.ClearTMProInputField();
        signUp_passwordInput.ClearTMProInputField();
        signUp_passwordConfirmInput.ClearTMProInputField();

        signUpCanvas.SetActive(false);
    }
Esempio n. 2
0
    /// <summary>
    /// show / hide functions of the different canvas ===========================================================================================
    /// </summary>

    public void ShowSignUpCanvas()
    {
        //clear the fields of the login canvas
        login_accountCreatedText.SetActive(false);
        login_LogInErrorMessage.SetActive(false);
        //clear all the input fields
        login_loginInput.ClearTMProInputField();
        login_passwordInput.ClearTMProInputField();
        //hide password reset content
        login_passwordResetText.SetActive(true);
        login_mailPasswordInputField.SetActive(true);
        login_submitButton.SetActive(true);

        if (isHiden == false)
        {
            ShowResetPasswordUI();
        }

        signUpCanvas.SetActive(true);
    }