private void ChangeWeapon(PlayerAttack playerWeapon) { //Play the pickup sound AudioManager.Instance.PlaySFX(pickupSound); //Change the weapon on the character for the new weapon playerWeapon.ChangeWeapon(weaponTreasure); //Destroy the game object Destroy(this.gameObject); }