void Start()
    {
        playerPosition = GameObject.Find("Sphere").transform;

        direction_UP    = GameObject.Find("Sphere").GetComponent <UP_controller>();      //0
        direction_RIGHT = GameObject.Find("Sphere").GetComponent <RIGHT_controller>();   //1
        direction_DOWN  = GameObject.Find("Sphere").GetComponent <DOWN_controller>();    //2
        direction_LEFT  = GameObject.Find("Sphere").GetComponent <LEFT_controller>();    //3

        direction = transform.position - reference.transform.position;

        complete = true;
    }
    void Start()
    {
        levelIndex = Application.loadedLevel;           //Getting current level index for saving needs;

        //contadorDeColisoes = 0;
        rb = GetComponent <Rigidbody>();

        playerPosition = GameObject.Find("Sphere").transform;
        //Acessa a variável integerToChange presente em MainCamera
        referenceScript = GameObject.FindWithTag("MainCamera").GetComponent <FollowingPlayer>();
        referenceBool   = GameObject.FindWithTag("MainCamera").GetComponent <FollowingPlayer>();
        //Para acessar os scripts de controle anexados à esfera
        downReference  = GameObject.Find("Sphere").GetComponent <DOWN_controller> ();
        upReference    = GameObject.Find("Sphere").GetComponent <UP_controller> ();
        rightReference = GameObject.Find("Sphere").GetComponent <RIGHT_controller> ();
        leftReference  = GameObject.Find("Sphere").GetComponent <LEFT_controller> ();

        pointLight1 = GameObject.Find("Point light").GetComponent <PointLight1> ();
        pointLight2 = GameObject.Find("Point light (1)").GetComponent <PointLight2> ();
        fiatLux1    = GameObject.FindWithTag("planetag").GetComponent <Fiat_Lux1> ();
        fiatLux2    = GameObject.FindWithTag("gem2").GetComponent <Fiat_Lux2> ();

        //lightningEmitter = GameObject.FindWithTag ("lightning_emitter");
        lightningEmitter.SetActive(false);
        //show1Star.SetActive (false); //Mantem as estrelas apagadas até "timer=true"
        //show2Stars.SetActive (false);
        //show3Stars.SetActive (false);

        //Fade-in das estrelas / Seta cor transparente nos sprites
        //starColor = new Color (1, 1, 1, 0);
        //star1.color = starColor;
        //star2.color = starColor;
        //star3.color = starColor;

        source = GetComponent <AudioSource>();
    }