public void OnDestroy()
 {
     client.EndNetworked();
 }