public void ExitInventory() { InventoryPanel.SetActive(false); thisCamera.EnableMouse(); thisCamera.LockTheCursor(); EnableMove(); }
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(); } }