public static void CloseInventory()
        {
            if (!IsInventoryOpen())
            {
                return;
            }

            InventoryUIManager.RequireInstance();
            InventoryUIManager.Instance.Close();
        }
        // STATIC METHODS: ------------------------------------------------------------------------

        public static void OpenInventory()
        {
            InventoryUIManager.RequireInstance();
            InventoryUIManager.Instance.Open();
        }
Esempio n. 3
0
 public static void CloseInventory()
 {
     InventoryUIManager.RequireInstance();
     InventoryUIManager.Instance.Close();
 }