So this piece of script creates a public integer and allows for a constant scrolling background on the Y axis. I wanted this to be a constant motion so the script was applied in the update section of the script, by creating a new vector 2 whereby this script would later be applied to the background. For testing circumstances I have left the speed at 1 but this may increase as the difficulty level of the game increases.
Additional changes had to be made to the background to allow the scrolling script to work. I changed the the background from a sprite to a texture and change the type of texture from clamp to repeat in Unity. The background was then applied to quad, from the 3D objects menu, followed by a directional light as the quad was reducing the brightness of the background.

