コード例 #1
0
    public void Talk()
    {
        gameObject.SetActive(true);
        _isTalking = true;

        switch (_currSelectedLang)
        {
        case SelectedLanguage.En:
            _speechController.Play(textEn, _currSelectedLang);
            break;

        case SelectedLanguage.Fr:
            _speechController.Play(textFr, _currSelectedLang);
            break;
        }
        _anim.SetBool("isTalking", true);
    }