コード例 #1
0
 private void OnTriggerEnter2D(Collider2D collision)
 {
     if (collision.gameObject.name == "Player_Swordman")
     {
         theDM.ShowDialogue(dialogue);
     }
 }
コード例 #2
0
ファイル: Event001.cs プロジェクト: ulillilu/Portfolio_PMH
 IEnumerator EventCoroutine()
 {
     //theFade.FadeOut();
     TheDM.ShowDialogue(dialogue_1);
     yield return(new WaitUntil(() => !TheDM.talking));
     //theFade.FadeIn();
 }
コード例 #3
0
ファイル: Event01.cs プロジェクト: ulillilu/Portfolio_PMH
    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));
    }
コード例 #4
0
 IEnumerator EventCoroutine001()
 {
     TheDM.ShowDialogue(dialogue_1);
     yield return(new WaitUntil(() => !TheDM.talking));
 }
コード例 #5
0
 IEnumerator LetitiaEventCoroutine()
 {
     theDM.ShowDialogue(dialogue_Letitia);
     yield return(new WaitUntil(() => !theDM.talking));
 }