private void Update() { if (visited && xDespawnDistance > transform.position.x) { _roadCreator.RemoveLastSegment(); } }