private IEnumerator LoginToDB() { yield return(LocalDBController.AddLogin(_playerInfo.PlayerID)); if (_playerInfo.PlayerID != null) { yield return(FlashOutLocalLogins()); } NameText nameText = FindObjectOfType <NameText>(); if (nameText != null) { nameText.SetName(_playerInfo.Name); } }