void Update() { if (dialogType == DialogType.Text && TextInAction) { UpdateDialogSection(); if (Input.GetMouseButtonDown(0)) { TextInAction = false; NPCText.text = fullNPCString; dialogTrigger.StopLipsyncText(); if (dialogSource.isPlaying) { dialogSource.Stop(); } } } }