using UnityEngine;
using System.Collections;

public class backgroundMov : MonoBehaviour {
	private float ypos;
	//public float yposMov = 0.0f;
	// Use this for initialization
	void Start () {
		ypos = -0.60f;
	}
	
	// Update is called once per frame
	void Update () {
		if (ypos < 748) {
			transform.position = new Vector3 (8, ypos, -10);
			ypos += 0.35f;
		}
	}

}
