public void ExitInventory()
 {
     InventoryPanel.SetActive(false);
     thisCamera.EnableMouse();
     thisCamera.LockTheCursor();
     EnableMove();
 }
Exemplo n.º 2
0
 public void ContinueDialogue()
 {
     if (dialogueIndex < dialogueLines.Count - 1)
     {
         dialogueIndex     = dialogueIndex + 1;
         dialogueText.text = dialogueLines[dialogueIndex];
     }
     else
     {
         dialoguePanel.SetActive(false);
         thisCamera.EnableMouse();
         thisCamera.LockTheCursor();
         pController.EnableMove();
     }
 }