public void StartDialog(DialogTrigger dialog) { currentDialog = dialog; currentDialog.DisableInteractionTemp(); otherAudio = dialog.Source; currentDialogNode = dialog.CurrentNode; interfaceController.AddMask_(this); }
protected void Update() { if (Input.GetKeyDown(KeyCode.Tab) && GameManager.AllowPlayerActions) { if (IsOpen) { interfaceController.RemoveMask_(this); } else { interfaceController.AddMask_(this); } } ClickEvent(); }