Example #1
0
    // Use this for initialization
    void Start()
    {
        car          = GetComponent <BaseCarController>();
        wheelManager = GetComponentInChildren <WheelManager>();
        inputManager = GetComponent <CarReInput>();

        enabled = car && wheelManager && inputManager;
    }