void GoRegister(ClientType clientType)
        {
            //DebugUtils.Log( DebugUtils.Type.AsyncSocket, "Begin to Connect LoginServer IP = " + curServerIp );
            SceneManager.LoadScene("MainMenu");
            UIManager.locateState = UIManagerLocateState.Login;

            HeartBeat.RegisterLoginHeartMessageHandler();

            MultiDeviceListenerManager.Init(boot);
            MultiDeviceListenerManager.RegisterHandler();


            NetworkAlert.Init();
        }
Пример #2
0
 // Update is called once per frame
 void Update()
 {
     NetworkManager.Update();
     NetworkAlert.Update();
     HeartBeat.Update(Time.deltaTime);
 }