Esempio n. 1
0
 private void Start()
 {
     questManager           = FindObjectOfType <QuestManager>();
     dialogSystemController = FindObjectOfType <DialogSystemController>();
     if (!File.Exists(Path.Combine(Application.persistentDataPath, "PlayerItems.json")))
     {
         StartIntro();
     }
     else
     {
         canvasGroup.alpha = 0.0f;
         image.enabled     = false;
     }
 }
Esempio n. 2
0
 void Start()
 {
     cameraController       = FindObjectOfType <CameraController>();
     dialogSystemController = FindObjectOfType <DialogSystemController>();
     playerMovement         = GameObject.FindWithTag("Player").GetComponent <PlayerController>();
 }
 void Start()
 {
     this.DialogSystem = FindObjectOfType <DialogSystemController>();
 }