03.6.1 TRADE HUB
Last updated
Last updated
TradeHub serves as the base class for both Shops and Crafting Benches, which inherit from it. These two systems are quite similar, they're both interactable objects that allow players to trade resources (such as Coins or Items) for other items. Due to this shared functionality, they rely on TradeHub-related classes, while still implementing their own specific logic in separate scripts when necessary.
Crafting Bench & Shop -> TradeHub
Crafting UI & Shop UI -> Trade UI
Crafting Button & Shop Button -> Trade Button
TradeButton
TradeUI
TradeHub