void OnTriggerExit(Collider other) { TrixieController ctrl = other.GetComponent <TrixieController>(); if (ctrl != null) { _controllersInTrigger--; } }
void OnTriggerEnter(Collider other) { TrixieController ctrl = other.GetComponent <TrixieController>(); if (ctrl != null) { _controllersInTrigger++; CheckEndingCondition(); } }