void OnTriggerEnter(Collider other) { Alive livingThing = other.GetComponent <Alive>(); if (livingThing) { livingThing.Kill(); } }