// Use this for initialization void Start() { _aiCarControl = GetComponent <AICarControl>(); _carController = GetComponent <CarController>(); _odometer = GetComponent <CarOdometer>(); _crashed = false; }
// Use this for initialization void Start() { _odometer = Car.GetComponent <CarOdometer>(); }