public void AccountCreated() { ErrorMessageBacking.SetActive(true); ErrorMessageText.SetActive(true); ErrorMessageText.GetComponent <TextMeshProUGUI>().text = "Registration Completed"; ErrorMessageBacking.GetComponent <Image>().color = cConfirm; }
public void UserExists() { ErrorMessageBacking.SetActive(true); ErrorMessageText.SetActive(true); ErrorMessageText.GetComponent <TextMeshProUGUI>().text = "Account Already Exists"; ErrorMessageBacking.GetComponent <Image>().color = cError; }
public void IncorrectLogin() { loggingIn = false; LoginButtonText.GetComponent <TextMeshProUGUI>().fontSize = 23.28f; LoginButtonText.GetComponent <TextMeshProUGUI>().text = "Connect"; ErrorMessageBacking.SetActive(true); ErrorMessageText.SetActive(true); ErrorMessageText.GetComponent <TextMeshProUGUI>().text = "Incorrect Login or Password"; ErrorMessageBacking.GetComponent <Image>().color = cError; }