// Use this for initialization
	void Start () {
		// loading panel to indicate game is loading (downloading images from database).
		loadingText = loadingPanel.transform.GetChild(0).GetComponent<Text>();

		GameObject learnGSObject = GameObject.FindWithTag ("Canvas");
		if (learnGSObject != null)
		{
			learnGS = learnGSObject.GetComponent <LearnGameScript>();
		}
		if (learnGS == null)
		{
			Debug.Log ("Cannot find 'LearnGameScript'");
		}

	}
    // Use this for initialization
    void Start()
    {
        // loading panel to indicate game is loading (downloading images from database).
        loadingText = loadingPanel.transform.GetChild(0).GetComponent <Text>();

        GameObject learnGSObject = GameObject.FindWithTag("Canvas");

        if (learnGSObject != null)
        {
            learnGS = learnGSObject.GetComponent <LearnGameScript>();
        }
        if (learnGS == null)
        {
            Debug.Log("Cannot find 'LearnGameScript'");
        }
    }