void Awake()
        {
            // Subscribe to setSteeringController event.
            Events.setSteeringController += OnSetSteeringController;

            // Obtain RollerBotVehicle reference.
            rollerBotVehicle = GetComponentInChildren <RollerBotVehicle>();
            if (!rollerBotVehicle)
            {
                Debug.LogWarning("Unable to find required RollerBotVehicle for RollerBotVehicleSteerModeAdapter on " + name);
                return;
            }

            // Go through all SteerCharacteristics and store names in a dictionary for easy lookup.
            foreach (SteerCharacteristics sc in steerCharacteristics)
            {
                steerCharacteristicDictionary.Add(sc.steeringControllerName, sc);
            }

            // Save original values as defaults.
            defaultCharacteristics.turnSmoothTime = rollerBotVehicle.turnSmoothTime;

            // Init current controller
            if (Events.currentSteeringController)
            {
                OnSetSteeringController(Events.currentSteeringController);
            }
        }
 void Awake()
 {
     // Obtain reference to RollerBotVehicle
     vehicle = GetComponentInChildren <RollerBotVehicle>();
     if (!vehicle)
     {
         Debug.Log("No RollerBotVehicle found for RollerBotSound on " + name);
     }
 }