using UnityEngine; public class RideDetectionZone : MonoBehaviour { [SerializeField] private RideController _ride; private void OnTriggerStay(Collider other) { if (_ride != null) _ride.OnDetectionStay(other); } private void OnTriggerExit(Collider other) { if (_ride != null) _ride.OnDetectionExit(other); } }