/// <summary> /// Disconnect the client from the server /// </summary> public void Disconnect() { Debug.Log($"{id} has disconnected"); tcp.Disconnect(); udp.Disconnect(); ServerSender.SendDisconnect(id); }
/// <summary> /// Disconnect the client from the server /// </summary> public void Disconnect() { Console.WriteLine($"{id} has disconnected"); tcp.Disconnect(); udp.Disconnect(); ServerSender.SendDisconnect(id); }