void Start() { _soundContainer = SoundContainer.Instance; _soundSource = _soundContainer.GetComponent <AudioSource>(); _enemyGameManager = EnemyGameManager.Instance; _languageManager = LanguageManager.Instance; _hudCanvas = GameObject.FindWithTag("HUD").GetComponent <PopUpManager>(); _player = GameObject.FindWithTag("Player"); dialogueCallback = DialogueEventCallback; StartCoroutine(Cooldown()); }
// Start is called before the first frame update void Start() { //portal.SetActive(false); _soundContainer = SoundContainer.Instance; _soundSource = _soundContainer.GetComponent <AudioSource>(); _languageManager = LanguageManager.Instance; _hudCanvas = GameObject.FindWithTag("HUD").GetComponent <PopUpManager>(); dialogueCallback = DialogueEventCallback; Invoke("EstellaAppears", 2); }