Ejemplo n.º 1
0
        private IEnumerator TakeCEOJobCo()
        {
            isCoR = true;
            HideOptions();
            dial.ChangeFile(choices[0]);
            dial.AutoDial();
            fadeToBlack.SetBool("HasChosen", true);
            yield return(new WaitForSeconds(7.5f));

            SceneManager.LoadScene("End");
        }
        public void ProgressTutorial()
        {
            switch (seq.Sequence[sequencePos])
            {
            case SequenceElements.None:
                // nothing xD
                break;

            case SequenceElements.Dialogue:

                dial.ChangeFile(seq.File);
                dial.AutoDial();

                break;

            case SequenceElements.UIPrompt:

                seq.Prompt.SetActive(true);

                break;

            case SequenceElements.Function:

                seq.Function();

                break;

            default:
                break;
            }

            seq.RunCooldown(sequencePos);
        }
Ejemplo n.º 3
0
 public void StartCutscene()
 {
     transform.position = _positions[0];
     IsCutsceneRunning  = true;
     StartCoroutine(LerpToPosition());
     dial.ChangeFile(file);
     dial.AutoDial();
 }