I have a 2d unity game and I had a script that patrols a platformer however now I need it to patrol between two walls, here\'s the code:
public float speed =