unity on trigger leave code example Example: on trigger stay unity private void OnTriggerStay(Collider other) { // Do some stuff }