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; } }
void Start() { cameraController = FindObjectOfType <CameraController>(); dialogSystemController = FindObjectOfType <DialogSystemController>(); playerMovement = GameObject.FindWithTag("Player").GetComponent <PlayerController>(); }
void Start() { this.DialogSystem = FindObjectOfType <DialogSystemController>(); }