Esempio n. 1
0
 public void StartInventory(FurnitureInventory inventory)
 {
     if (!InventoryUI.activeInHierarchy)
     {
         activeInventory = inventory;
         playerController.LockMoves();
         activeInventory.loadInventory(InventoryUI);
         ShowInventory();
     }
     else
     {
         EndInventory();
     }
 }
Esempio n. 2
0
 public override void GetReferenceObject(Interactable interactable)
 {
     base.GetReferenceObject(interactable);
     inventory = interactable.gameObject.GetComponent <FurnitureInventory>();
 }