void Start() { audioManager = ClientAudioManager.Instance; heroMenuContents.SetActive(false); cursorManager = CursorManager.Instance; gameEssentials = GameEssentials.Instance; }
//private DialogueManager dialogueManager; //private bool isTalking; void Awake() { cam = Camera.main; //dialogueManager = FindObjectOfType<DialogueManager>(); navMeshAgent = GetComponent <NavMeshAgent>(); anim = GetComponent <Animator>(); pauseManager = PauseManager.Instance; gameEssentials = GameEssentials.Instance; }
void Start() { gameEssentials = GameEssentials.Instance; audioManager = ClientAudioManager.Instance; loadingScreenManager = LoadingScreenManager.Instance; }