public override void OnStartClient(NetworkClient client)
        {
            base.OnStartClient(client);
            Debug.Log("Client Started");
            if (OnClientStarted != null)
            {
                OnClientStarted();
            }

            _clientMessaging = new ClientMessaging(client, this);
            if (!NetworkServer.active)
            {
                Players = new ClientConnectedPlayers(_clientMessaging, _userName);
            }

            if (this.client.connection == null)
            {
                StartCoroutine(WaitConnection());
            }
            else
            {
                Players.SetClient(this.client);
            }
        }