// Update is called once per frame void Update() { if (Client.Network.Connected && logoutRequesting == false) { m_terrain.Update(); m_objects.Update(); m_camera.Update(); m_selfmove.Update(); m_avatars.Update(); } else if (!Client.Network.Connected && logoutRequesting == true) { logoutRequesting = false; } if (m_loginout == null) { Debug.Log("m_loginout == null"); } }