void OnAnsLogin(AnsLogin ans) { //Debug.Log(string.Format("Lobby.OnAnsLogin - {0} \n", ans.ToString())); bool isLoginOk = ans.Usn > 0; if (isLoginOk) { ansLogin = ans; UpdateUserInfo(ans); } else { Debug.Log("<color=red>failed to login </color>" + ans.ToString()); } }
void OnAnsLogin(AnsLogin ans) { bool isLoginOk = ans.Usn > 0; if (isLoginOk) { ansLogin = ans; // UpdateUserInfo(ans); } else { Debug.Log("failed to login " + ans.ToString()); } }