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

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

        ShowDialogueBox.Invoke();
        TutorialScript.JustGoNextLine();
    }
Ejemplo n.º 3
0
 public IEnumerator Event9()
 {
     TutorialScript.TextActive = true;
     HideDialogueBox.Invoke();
     while (TutorialTriggerCheck.TutorialProgress == 6)
     {
         yield return(null);
     }
     TutorialScript.JustGoNextLine();
     ShowDialogueBox.Invoke();
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 5
0
 public IEnumerator Event6()
 {
     HideDialogueBox.Invoke();
     MakeFoodPricesFree.Invoke();
     while (TutorialTriggerCheck.TutorialProgress == 3)
     {
         yield return(null);
     }
     RestoreFoodPrices.Invoke();
     TutorialScript.JustGoNextLine();
     ShowDialogueBox.Invoke();
     DoorOutline.DisableOutline();
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 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();
    }