예제 #1
0
    public void Open(Reproductor reproductor)
    {
        ui.SetActive(!ui.activeSelf);

        if (ui.activeSelf)
        {
            this.reproductor = reproductor;

            var      texture = reproductor.getRawImage();
            RawImage image   = ui.gameObject.GetComponentInChildren <RawImage>();
            image.texture = texture;

            SoundManager.instance.RandomizeSfx(epicSaxGuy);



            Time.timeScale = 0f;
        }
    }