예제 #1
0
 public IEnumerator Event4()
 {
     HideDialogueBox.Invoke();
     while (TutorialTriggerCheck.TutorialProgress == 1)
     {
         yield return(null);
     }
     TutorialScript.JustGoNextLine();
     ShowDialogueBox.Invoke();
 }
예제 #2
0
    public IEnumerator Event1()
    {
        HideDialogueBox.Invoke();
        yield return(new WaitForSeconds(1f));

        ToggleBrendan.Invoke();
        yield return(new WaitForSeconds(1f));

        ShowDialogueBox.Invoke();
        TutorialScript.JustGoNextLine();
    }
예제 #3
0
 public IEnumerator Event9()
 {
     TutorialScript.TextActive = true;
     HideDialogueBox.Invoke();
     while (TutorialTriggerCheck.TutorialProgress == 6)
     {
         yield return(null);
     }
     TutorialScript.JustGoNextLine();
     ShowDialogueBox.Invoke();
 }
예제 #4
0
 public IEnumerator Event5()
 {
     HideDialogueBox.Invoke();
     TutorialTriggerCheck.State = TutorialTriggerCheck.TutorialState.Door;
     TutorialScript.TextActive  = false;
     while (TutorialTriggerCheck.TutorialProgress == 2)
     {
         yield return(null);
     }
     TutorialScript.JustGoNextLine();
     ShowDialogueBox.Invoke();
 }
예제 #5
0
 public IEnumerator Event6()
 {
     HideDialogueBox.Invoke();
     MakeFoodPricesFree.Invoke();
     while (TutorialTriggerCheck.TutorialProgress == 3)
     {
         yield return(null);
     }
     RestoreFoodPrices.Invoke();
     TutorialScript.JustGoNextLine();
     ShowDialogueBox.Invoke();
     DoorOutline.DisableOutline();
 }
예제 #6
0
 public IEnumerator Event3()
 {
     TutorialScript.TextOff();
     HideDialogueBox.Invoke();
     while (TutorialTriggerCheck.State == TutorialTriggerCheck.TutorialState.Start)
     {
         yield return(null);
     }
     PcOutline.DisableOutline();
     while (TutorialTriggerCheck.TutorialProgress == 0)
     {
         yield return(null);
     }
     TutorialScript.TextOn();
     ShowDialogueBox.Invoke();
     TutorialScript.JustGoNextLine();
 }
예제 #7
0
    public IEnumerator Event2()
    {
        HideDialogueBox.Invoke();
        yield return(new WaitForSeconds(1f));

        BedOutline.EnableOutline();
        DoorOutline.EnableOutline();
        PcOutline.EnableOutline();
        yield return(new WaitForSeconds(1f));

        BedOutline.DisableOutline();
        DoorOutline.DisableOutline();
        yield return(new WaitForSeconds(0.5f));

        ShowDialogueBox.Invoke();
        TutorialScript.JustGoNextLine();
    }