public void Disconnect() { // find other players var otherplayers = TNManager.GetPlayers(channelID); if (otherplayers.Count > 0) { var newHost = otherplayers.buffer[0]; TNManager.SetHost(channelID, newHost); gameEvents.OnChangeHost.Invoke(newHost.id); } // Debug.Log("Disconnecting"); TNManager.Disconnect(); }