Ejemplo n.º 1
0
 public void SetNoteList()
 {
     ObjectListUI.SetActive(false);
     InformationDisplay.SetActive(false);
     KeyListUI.SetActive(false);
     NoteListUI.SetActive(true);
 }
Ejemplo n.º 2
0
    public void CloseDescription()
    {
        descriptionOpen = false;
        InformationDisplay.SetActive(false);
        for (int i = 0; i < INV.Objects.objList.Count; i++)
        {
            ObjectButtons[i].enabled = true;
        }

        for (int i = 0; i < INV.Notes.objList.Count; i++)
        {
            NoteButtons[i].enabled = true;
        }

        for (int i = 0; i < INV.Objects.objList.Count; i++)
        {
            KeyButtons[i].enabled = true;
        }
    }
Ejemplo n.º 3
0
 public void OpenDescription()
 {
     if (!descriptionOpen)
     {
         foreach (var button in ObjectButtons)
         {
             button.enabled = false;
         }
         foreach (var button in KeyButtons)
         {
             button.enabled = false;
         }
         foreach (var button in NoteButtons)
         {
             button.enabled = false;
         }
         descriptionOpen = true;
         InformationDisplay.SetActive(true);
     }
 }
Ejemplo n.º 4
0
 public void OpenDescription(Item item)
 {
     descriptionOpen = true;
     InformationDisplay.SetActive(true);
 }