public void Open() { OnDestroy(); _client = new ChatClient(); _client.OnClose += _client_OnClose; _client.OnOpen += _client_OnOpen; _client.OnChat += _client_OnChat; _client.Open(ServerPath); }