CraftingBench

CraftingBench inherits from TradeHub

Crafting Bench allows the Player to "Trade" Resources (Items) for other Items.

For more details about Crafting & Crafting Benches, refer to how to work with Crafting Benches.

CRAFTING BENCH

  • craftingUIPrefab: CraftingUI that will appear when interacting with the CraftingBench. It contains all CraftingButtons that the player can interact with to craft items.

  • availableRecipes: IngredientUIIcon that defines an ingredient for the Recipe of the highlighted CraftButton

TIP: Since AvailableRecipes is linked to each Crafting Bench specifically, you can create different types of Crafting Benches, like an Anvil for example, where only metal items can be crafted. This allows full control on what can be crafted & what cannot be crafted on each Crafting Bench.

  • startCraftingSFX: Ingredients Prefabs will be instantiated inside ingredientContainer

Last updated