public void ChangeGear() { CarController currentCar = FindObjectOfType <CarController>(); if (currentCar == null) { return; } currentCar.ChangeGearStatus(); }