Shop Window
Scripting with the ShopWindow class.
The ShopWindow
class is the Inventool's enchanting window. This is split from the other systems unlike the Inventool Window.
Fields & Properties
shopTitle
The shop title element.
Label
protected
closeButton
The close button.
Button
protected
activeShopkeeper
The shopkeeper currently being interacted with.
Shopkeeper
protected
shopFilterScroll
The shop filter scroll view.
ScrollView
protected
shopScroll
The shop scroll view.
ScrollView
protected
shopFilters
A list of shop filters.
List<InventoryFilter>
protected
selectedShopFilter
The currently shop filter.
InventoryFilter
protected
Active Instance
You can get the active ShopWindow
instance with ShopWindow.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 Shopkeeper
reference as a parameter.
Close
Close
simply closes the window.
Last updated