// Use this for initialization
    void Start()
    {
        GameObject h = GameObject.Find ("OpeningHistory");
        history = h.GetComponent<HistoriaControl> ();

        Text.SetActive (false);
        S1.SetActive (true);
        S1.GetComponent<Animator> ().enabled = false;
        S2.SetActive (false);
        S3.SetActive (false);
        S4.SetActive (false);

        if (history.começacutscene == true)
                        S1.GetComponent<Animator> ().enabled = true;
    }
    // Use this for initialization
    void Start()
    {
        //Os gameobjects a seguir sao inicializados para conseguir componentes de outros scripts utilizando
        //as variaveis ja declaradas.
        GameObject f = GameObject.Find ("screenFader");
        fd = f.GetComponent<Fade> ();

        GameObject h = GameObject.Find ("OpeningHistory");
        history = h.GetComponent<HistoriaControl> ();

        GameObject i = GameObject.Find ("inventario 2");
        pause = i.GetComponent<Inventario> ();

        GameObject c = GameObject.Find ("Opening Cutscene");
        cutsc = c.GetComponent<CutsceneControl> ();

        GameObject v = GameObject.Find ("Sihir");
        SihirSounds = v.GetComponent<SihirSounds> ();

        //No inicio do jogo apenas a vida maxima dela esta ativada..
        maxH.SetActive (true);
        AlmostMaxH.SetActive (false);
        HalfH.SetActive (false);
        AlmostEmptyH.SetActive (false);
        Empty.SetActive (false);
    }