// Start is called before the first frame update private void OnTriggerEnter(Collider other) { parent.SetEvent(); }