public void openJournal() { JournalMenu.SetActive(true); GameState.pause(); JournalButton.SetActive(false); if (currentPanel.Equals("")) { currentPanel = "Quests"; statsPanel.SetActive(false); questPanel.SetActive(true); optionsPanel.SetActive(false); itemsPanel.SetActive(false); JournalMenu.GetComponent <Image>().sprite = panelBackground1; } }
public void closeJournal() { JournalButton.SetActive(true); JournalMenu.SetActive(false); GameState.resume(); }