Inventool Documentation
  • Inventool Documentation
  • đŸ•šī¸Quick Start
    • Installation
    • Start Creating
  • 💡General
    • Running the Demo
    • Menu Options
    • UI Updates
    • UI Customizations
      • uGUI
      • UI Toolkit
    • Custom Item Drops
  • 🎓Tutorials
    • Demo Walkthrough
  • âœī¸Editors
    • Inventool
      • Inventory
      • Equipment
      • Items
      • Currencies
      • Crafting
      • Dismantling
      • Enchanting
      • Stats
        • Stat IDs
        • Attributes
      • Settings
    • Item Type Manager
    • Localization Editor
    • Stats Editor
    • Merchants
      • Shopkeeper
      • Craftsman
      • Enchanter
    • Storage
    • Loot
      • Loot Box
      • Item Pouch
      • Currency Pouch
    • Components
      • Initializer
      • UI
        • uGUI
          • Inventool Window
          • Split UI
            • Inventory Window UGUI
            • Equipment Window UGUI
            • Key Items Window UGUI
            • Crafting Window UGUI
            • Enchanting Window UGUI
            • Storage Window UGUI
            • Shop Window UGUI
            • Selector UGUI
          • Action Menu UGUI
          • Hover Details UGUI
          • Confirm Prompt UGUI
          • Quantity Prompt UGUI
          • Character Viewer Element UGUI
        • UI Toolkit
          • Inventool Window
          • Split UI
            • Inventory Window
            • Equipment Window
            • Key Items Window
            • Crafting Window
            • Enchanting Window
            • Storage Window
            • Shop Window
          • Action Menu
          • Hover Details
          • Confirm Prompt
          • Quantity Prompt
        • Character Viewer
      • Overworld Merchant
      • Storage Keeper
      • Item Drop
      • Item Spawner
      • Input
        • Cross Input Support
        • Cross Input Support UGUI
          • Target Selectable
  • 📄Scripting API
    • Initialization
    • Inventory
    • Equipment
      • Equipment Slot
    • Items
      • Item
      • Item Type
      • Item Stack
      • Item Drop
      • Item Spawner
      • Loot Box
      • Item Pouch
    • Currencies
      • Currency Identity
      • Currency
        • Value
      • Currency Pouch
    • Crafting
      • Craft
      • Crafter
    • Enchanting
      • Enchantment
    • Stats
      • Stat Identity
      • Attribute
      • Stat
        • Stat Value
          • Value
        • Effectiveness
      • Stat Profile
    • Storing
      • Storage
      • Storage Keeper
    • Settings
    • Merchants
      • Shopkeeper
      • Craftsman
      • Enchanter
      • Overworld Merchant
    • UI
      • uGUI
        • Inventool Window UGUI
        • Split UI
          • Draggable Window UGUI
            • Inventory Window UGUI
            • Equipment Window UGUI
            • Key Items Window UGUI
            • Crafting Window UGUI
            • Enchanting Window UGUI
            • Storage Window UGUI
            • Shop Window UGUI
          • Selector UGUI
        • Action Menu UGUI
        • Hover Details UGUI
        • Confirm Prompt UGUI
        • Quantity Prompt UGUI
        • Draggable Element UGUI
          • Equipment Slot Element UGUI
          • Item Slot Element UGUI
          • Item Stack Element UGUI
        • Action Menu Option UGUI
        • Currency Element UGUI
        • Inventory Filter UGUI
        • Inventory Slot UGUI
        • Key Item Element UGUI
        • Shop Item Element UGUI
        • Storage Currency Element UGUI
        • Stat Element UGUI
      • UI Toolkit
        • Inventool Window
        • Split UI
          • Draggable Window
            • Inventory Window
            • Equipment Window
            • Key Items Window
            • Crafting Window
            • Enchanting Window
            • Storage Window
            • Shop Window
        • Action Menu
        • Hover Details
        • Confirm Prompt
        • Quantity Prompt
        • Item Elements
          • Item Stack Element
          • Equipment Slot Element
          • Item Slot Element
          • Shop Item Element
      • Action Menu Option
      • Character Viewer
    • Events
    • Sounds
    • Saving & Loading
      • Inventory & Equipment
      • Storage
    • Input
      • Cross Input Support
      • Cross Input Support UGUI
    • Localization
      • Localization Settings
      • Localizer
  • đŸ› ī¸Support
    • Getting Help
  • 📚Changelogs
    • Latest Releases
    • Future Plans
  • ⭐Rate Me?
Powered by GitBook
On this page
  • Fields & Properties
  • Active Instance
  • Open
  • Close
  1. Scripting API
  2. UI
  3. uGUI
  4. Split UI
  5. Draggable Window UGUI

Storage Window UGUI

Scripting with the StorageWindowUGUI class.

The StorageWindowUGUI class is the Inventool's enchanting window.

Fields & Properties

Name
Description
Type
Access

storage

The storage reference.

Storage

public

itemStackElementPrefab

The item stack element prefab. This is the object placed over slots.

ItemStackElementUGUI

protected

currencyElementPrefab

The currency display element prefab.

StorageCurrencyElementUGUI

protected

filterPrefab

The inventory filter prefab.

InventoryFilterUGUI

protected

slotPrefab

The empty inventory slot prefab.

InventorySlotUGUI

protected

closeButton

The close button.

Button

protected

currenciesContainer

Contains currency visual elements.

RectTransform

protected

titleLabel

The storage title label.

TextMeshProUGUI

protected

storageArea

The storage area.

RectTransform

protected

filterTitleLabel

The storage filter title label.

TextMeshProUGUI

protected

filterScroll

The storage filter scroll.

ScrollRect

protected

storageScroll

The storage scroll view.

ScrollRect

protected

gridLayoutGroup

The grid layout group for the storage slots.

GridLayoutGroup

protected

storageContentFitter

The storage content size fitter.

ContentSizeFitter

protected

pagesArea

The area for the pagination text and buttons.

RectTransform

protected

pagesLabel

The pages label.

TextMeshProUGUI

protected

pageLeftButton

The previous page button.

Button

protected

pageRightButton

The next page button.

Button

protected

storageCanvasGroup

The storage canvas group for hiding purposes during reload.

CanvasGroup

protected

storageScrollbar

The storage scrollbar.

Scrollbar

protected

currencyElements

Loaded currency elements.

List<StorageCurrencyElementUGUI>

protected

filters

A list of storage filters.

List<InventoryFilterUGUI>

protected

selectedFilter

The currently selected filter.

InventoryFilterUGUI

protected

loadedSlots

A list of all loaded storage slots.

List<InventorySlotUGUI>

protected

loadedItemElements

A list of all loaded item UI elements.

Dictionary<ItemStack, ItemStackElementUGUI>

protected

storageRequiresReload

If the storage requires reloading.

bool

protected

originalStorageAreaHeight

The original height of the storage area.

float

protected

Loaded

If all UI elements have been loaded.

bool

public

Active Instance

You can get the active StorageWindowUGUI instance with StorageWindowUGUI.Instance. Ensure there's an instance of it in your scene before using this field.

Open

Call the Open method when the storage window should be opened. This method requires a StorageKeeper reference as a parameter.

StorageWindowUGUI.Instance.Open(myStorageKeeper);

Close

Close simply closes the window.

StorageWindowUGUI.Instance.Close();
PreviousEnchanting Window UGUINextShop Window UGUI

Last updated 2 months ago

📄