using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
public class BackgroundScroller : MonoBehaviour
{
public GameObject RootBackgroundObject;
public GameObject BlockerTop;
public GameObject BlockerBottom;
public GameObject Gradient;
private Rect CanvasRect;
private List<GameObject> BackgroundRows = new List<GameObject>();
void Start()
{
GameObject globalObj = GameObject.Find("Globals");
SharedData sharedData = globalObj.GetComponent<SharedData>();