void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.layer == 9)
     {
         ShootingController gunController = other.gameObject.GetComponent <ShootingController>();
         gunController.PickupWeapon(weaponIndex);
         Destroy(gameObject);
     }
 }