Exemplo n.º 1
0
    private void Start()
    {
        //Booleanos globales
        isPaused = false;
        inScene  = false;

        //background audio
        audBG.clip = audioClip.GetAudio(0);
        audBG.loop = true;
        audBG.Play();
    }
Exemplo n.º 2
0
    private void Start()
    {
        //Booleanos globales
        isPaused = false;
        inScene  = false;

        //background audio
        audBG.clip = audioClip.GetAudio(0);
        audBG.loop = true;
        audBG.Play();

        //fade panel
        cvr = fadePanel.GetComponent <CanvasRenderer>();
        fadePanel.CrossFadeAlpha(0, 1f, false);
    }