// Use this for initialization void Awake() { PauseEvent = Pause; StartText = BeginText; EndText = FinishText; leftCharacterPortraits = GetChildren(leftCharacters); rightCharacterPortraits = GetChildren(rightCharacters); }
// 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(); } }
// 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; }