private void OnTriggerEnter2D(Collider2D other) { OnHit currentNote = other.GetComponentInParent <OnHit>(); currentNote.GetKilled(); }