private void SetPlayerName(string _playerName) { //assign the saved name, and allow the player to continue inputFieldObj.SetActive(false); submitButton.SetActive(false); playerData.Name = _playerName; welcomeText.AddString(_playerName); }
private void SetPlayerName(string _playerName) { //assign the saved name, and allow the player to continue inputFieldObj.SetActive(false); submitButton.SetActive(false); playerData.Name = _playerName; welcomeText.AddString(_playerName); }