public void btnClick() { if (userName.text == "") { statusText.text = "닉네임을 입력하세요"; return; } statusText.text = "서버에 접속중입니다..."; player.userName = System.Convert.ToString(userName.text); man.connect(); man.nameSend(); }