public void ConfirmChange() { newName = inputMenu.GetComponent <InputField>().text.ToString(); PlayerPrefsManager.SetPlayerName(newName); nameDisplay.GetComponent <DisplayName>().GetName(); changeNameButton.SetActive(true); quitButton.SetActive(true); inputMenu.SetActive(false); authenticator.GetRegistrationData(); authenticator.AuthRequest(); }