// Update is called once per frame
    void Update()
    {
        float   speed = laneProperties.GetSpeed();
        float   time  = Time.smoothDeltaTime;
        Vector3 v     = gameObject.transform.position;

        v.x = startingX + (v.x + time * speed) % size;
        gameObject.transform.position = v;
    }
    // Update is called once per frame
    void Update()
    {
        // Move the object
        float   speed = laneProperties.GetSpeed();
        float   time  = Time.smoothDeltaTime;
        Vector3 v     = gameObject.transform.position;

        v.x += time * speed;
        gameObject.transform.position = v;
    }