示例#1
0
        private void ProcessInventoryInteraction()
        {
            if (Input.GetButtonDown("Cancel"))
            {
                inventory.DisplayInventory();
            }

            if (inventory.currentlySelectedSlot)
            {
                if (Input.GetButtonDown("Submit"))
                {
                    inventory.CallItemInteractBox(true);
                }
            }
        }