Exemple #1
0
    public IEnumerator DeactivateRoutine()
    {
        PopulateBookData();
        bookBox.Populate(bookData);
        PopulateScrollBoxForSelectedBook();
        descriptionNameBox.transform.parent.GetComponent <CanvasGroup>().alpha = 0.0f;

        ui.rightDisplayEnabled = false;
        yield return(textbox.DisableRoutine());

        yield return(CoUtils.RunTween(GetComponent <CanvasGroup>().DOFade(0.0f, 1.0f)));

        rightFace.hpBar.gameObject.SetActive(true);
        rightFace.mpBar.gameObject.SetActive(true);
        rightFace.cdBar.gameObject.SetActive(true);
    }