Esempio n. 1
0
 private IEnumerator submitActions(DLoginPayload loginPayload)
 {
     if (inputFieldValidatorGroup != null)
     {
         inputFieldValidatorGroup.StartValidation();
         while (!inputFieldValidatorGroup.IsValidationComplete())
         {
             yield return(null);
         }
         if (inputFieldValidatorGroup.CheckForValidationErrors())
         {
             toggleInteraction(isInteractable: true);
             inputFieldValidatorGroup.ResetValidationComplete();
             yield break;
         }
     }
     loginController.Login(loginPayload);
 }