示例#1
0
 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());
 }
示例#2
0
    // 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);
    }