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