void Start()
	{
		if (paraCam == null)
		{
			// Get the main camera
			paraCam = Camera.main.GetComponent<ParaCamera>();
		}
		
		if (paraCam != null)
		{
			// Every time the camera moves, call the Move function.
			paraCam.onCameraTranslate += Move;
		}
		
		else
		{
			Debug.Log("No Main Camera found.");
			return;
		}
		
		// Get all the layers from the children
		for (int x = 0; x < transform.childCount; ++x)
		{
			ParaLayer layer = transform.GetChild(x).GetComponent<ParaLayer>();
			
			// Only add the children that have a ParaLayer component.
			if (layer != null)
			{
				list.Add(layer);
				//Debug.Log("Added " + layer + " to the parallax list.");
			}
		}
		
		//Debug.Log("There are " + list.Count + " ParaLayers.");
	}
    void Start()
    {
        if (paraCam == null)
        {
            // Get the main camera
            paraCam = Camera.main.GetComponent <ParaCamera>();
        }

        if (paraCam != null)
        {
            // Every time the camera moves, call the Move function.
            paraCam.onCameraTranslate += Move;
        }

        else
        {
            Debug.Log("No Main Camera found.");
            return;
        }

        // Get all the layers from the children
        for (int x = 0; x < transform.childCount; ++x)
        {
            ParaLayer layer = transform.GetChild(x).GetComponent <ParaLayer>();

            // Only add the children that have a ParaLayer component.
            if (layer != null)
            {
                list.Add(layer);
                //Debug.Log("Added " + layer + " to the parallax list.");
            }
        }

        //Debug.Log("There are " + list.Count + " ParaLayers.");
    }