private void MissSnowball(TargetProjectile projectile) { //print("Missed"); Snowball snowball = projectile.GetComponent <Snowball>(); snowballs.Remove(snowball); Destroy(projectile.gameObject); }
private void HitSnowball(TargetProjectile projectile, GameObject hitObj) { //print("Hit"); Snowball snowball = projectile.GetComponent <Snowball>(); snowballs.Remove(snowball); Destroy(snowball.gameObject); }