public void OnClick() { if (inputField.text == "") { Debug.Log("INPUT NICKNAME PLEASE"); } else { nickName.text = inputField.text; useLobbyManager.playerData = nickName.text; useLobbyManager.Checkin(); } }