예제 #1
0
 void goNextLine()
 {
     if (!curDialogue.IsThisTheFinlelLine && curDialogue.nextLine && isOn)
     {
         if (Input.GetKeyDown(KeyCode.E))
         {
             curDialogue = curDialogue.nextLine;
             StartCoroutine(startDialog());
         }
     }
 }
예제 #2
0
 void goPreLine()
 {
     if (!curDialogue.IsThisTheFirstLine && curDialogue.preLine && isOn)
     {
         if (Input.GetKeyDown(KeyCode.Q))
         {
             curDialogue = curDialogue.preLine;
             StartCoroutine(startDialog());
         }
     }
 }
예제 #3
0
    private void Start()
    {
        curDialogue = startDialogueFile;

        textBox.SetActive(false);
    }