Exemplo n.º 1
0
 public void OpenTheChest()
 {
     DialogDisplayBox.SetActive(true);
     Bubble.ChangeBubbleStatTo(false);
     DialogBox.text = ChestContents.ItemDescription;
     PlayerInventory.AddItem(ChestContents);
     PlayerInventory.ShowenItem = ChestContents;
     ShowFoundItem.Raise();
     InteractableSignal.Raise();
     IsOpen = true;
     ChestAnimator.SetBool("Opened", true);
     IsOpenInMemory.RunTimeValue = IsOpen;
 }
Exemplo n.º 2
0
 public void LeaveTheChest()
 {
     DialogDisplayBox.SetActive(false);
     ShowFoundItem.Raise();
 }