private void OnTriggerEnter2D(Collider2D collision) { if (collision.gameObject.name == "Player_Swordman") { theDM.ShowDialogue(dialogue); } }
IEnumerator EventCoroutine() { //theFade.FadeOut(); TheDM.ShowDialogue(dialogue_1); yield return(new WaitUntil(() => !TheDM.talking)); //theFade.FadeIn(); }
IEnumerator EventCoroutine() { TheDM.ShowDialogue(dialogue_1); yield return(new WaitUntil(() => !TheDM.talking)); theChoice.ShowChoice(choice); yield return(new WaitUntil(() => !theChoice.choiceIng)); Debug.Log(theChoice.GetResult()); TheDM.ShowDialogue(dialogue_2); yield return(new WaitUntil(() => !TheDM.talking)); }
IEnumerator EventCoroutine001() { TheDM.ShowDialogue(dialogue_1); yield return(new WaitUntil(() => !TheDM.talking)); }
IEnumerator LetitiaEventCoroutine() { theDM.ShowDialogue(dialogue_Letitia); yield return(new WaitUntil(() => !theDM.talking)); }