void OnTriggerEnter(Collider col) { Destroyable destroyable = col.GetComponent <Destroyable>(); if (destroyable) { //Debug.Log(counter); //GetComponent<AudioSource>().Play(); Destroy(destroyable.gameObject); } //counter += 1; playerOwner.ProjectileDestroyed(this); Destroy(this.gameObject); }