void Update() { if (Trigger.CanChat() && Input.GetAxisRaw("PressButton") > 0 && ControlAcess) { anim.SetBool("Talk", true); StartCoroutine(GrantAcess()); if (FraseEnd && Frases.Frase[Counts.Index].Turn != MyTurn) { HideFrase(); return; } if (Frases.Frase[Counts.Index].Options.Count > 0) { HideFrase(); return; } if (ChatBox.gameObject.activeSelf) { Next(); } if (!ChatBox.gameObject.activeSelf && Frases.Frase[Counts.Index].Turn == MyTurn && StartIt) { ShowFrase(); } } }