public void startLoginProcess() { //DebugLogger.Debug("start login process " + LoginInputAccount.text, Color.blue); ucl = NetClient.GetInstance("logic"); /* * if (ucl.Login(ServerIP, ServerPort, LoginInputAccount.text)) * { * switchScene("ServerScene"); * //LoginRequist.ucl.rpcCall("notifytester.rpc_start_notify", "1", null); * } * else * { * DebugLogger.Debug("Login Error"); * } */ if (ucl.Login(ServerIP, ServerPort, GameObject.FindGameObjectWithTag("UserName").GetComponent <InputField>().text)) { //switchScene("ServerScene"); GameManager.Instance.StartMatchmaking(); } else { DebugLogger.Debug("Login Error"); } }
void startLoginProcess() { DebugLogger.Debug("start login process " + LoginInputAccount.text, Color.blue); ucl = NetClient.GetInstance("logic"); if (ucl.Login(ServerIP, ServerPort, LoginInputAccount.text)) { switchScene("GameNode"); } else { DebugLogger.Debug("Login Error"); } }