//-------------------------------------------------------------------------------- // onClickResendConfirmation //-------------------------------------------------------------------------------- public void onClickResendConfirmation() { if (inputUsername != null || inputEmail != null) { if (LoomClient.validateName(inputUsername.text) || LoomClient.validateEmail(inputEmail.text) ) { string[] fields = new string[] { inputUsername.text, inputEmail.text }; TemporaryDisable(buttonResend); LoomClient.ActionResendConfirmation(fields, onCallbackResendConfirmation); } else { FindObjectOfType <LC_UIPanelMessage>().Show(LoomClient.LANG_ERROR); } } else { Debug.LogWarning(LoomClient.LANG_EDITOR_MISSING + this.name); } }