void OnTriggerStay(Collider other) { if (other.gameObject.tag == "CollisionChecker" && roadGenerator != null) { roadGenerator.HandleCollision(transform.parent.gameObject, other.transform.parent.gameObject); } }