Assets.Scripts.Scenes.Registration.RegistrationFormValidationController.Validate C# (CSharp) Method

Validate() public method

public Validate ( ) : bool
return bool
        public bool Validate()
        {
            ResetErrorLabels();
            if (!ValidateUsername() || !ValidatePassword() || !ValidateEmail())
            {
                ErrorLabel.gameObject.SetActive(true);
                return false;
            }
            return true;
        }