private void damagePlayer(PlayerStats player) { player.depleteLife(); //damage animation here Destroy(this.gameObject); }