private void OnDestroy()
 {
     if (client != null)
     {
         UnityNetcode.DestroyClient(client);
     }
 }
 private void OnDestroy()
 {
     UnityNetcode.DestroyClient(_client);
 }
 void OnApplicationQuit()
 {
     if (client != null)
         UnityNetcode.DestroyClient(client);
 }