Esempio n. 1
0
 // Use this for initialization
 void Awake()
 {
     PauseEvent              = Pause;
     StartText               = BeginText;
     EndText                 = FinishText;
     leftCharacterPortraits  = GetChildren(leftCharacters);
     rightCharacterPortraits = GetChildren(rightCharacters);
 }
Esempio n. 2
0
 // Use this for initialization
 void Awake()
 {
     PauseEvent              = Pause;
     StartText               = BeginText;
     EndText                 = FinishText;
     leftCharacterPortraits  = GetChildren(leftCharacters);
     rightCharacterPortraits = GetChildren(rightCharacters);
     textOverlay.Hide();
     overlay.Hide();
     question.Hide();
     foreach (FadeableUI f in leftCharacters)
     {
         f.Hide();
     }
     foreach (FadeableUI f in rightCharacters)
     {
         f.Hide();
     }
 }
Esempio n. 3
0
    // Use this for initialization
    void Awake()
    {
        pauseButton.onClick.AddListener(Pause);
        quitButton.onClick.AddListener(Quit);
        menuButton.onClick.AddListener(Menu);

        StartText = BeginText;
        EndText   = FinishText;
        Win       = WinGame;
        End       = EndGame;
        dialogue0 = Dialogue0;
        dialogue1 = Dialogue1;
        dialogues = new List <dialogueEvent>()
        {
            dialogue0, dialogue1, dialogue2, dialogue3
        };
        overlay.useUnscaledDeltaTimeForUI     = true;
        textOverlay.useUnscaledDeltaTimeForUI = true;
    }