FavItemSlot

Button that contains Favorite Items Data from the Inventory. On clicking this FavItemSlot, an action can be performed, generally using or consuming the object from the Inventory, allowing for quick access for Players´ favorites or most used items.

FAV ITEM SLOT

  • iconImage: Image that displays the Icon of the assigned Favorite Item (if exists)

  • inventoryContainer: Contains Visuals. It gets scaled on hovering & unhovering it.

  • highlightedBorder: This Object gets enabled when the FavItemSlot is hovered only.

  • highlightedScale: On hovering, target scale of this object. When unhovering, the FavItemSlot will go back to the original scale = 1f

  • lerpSpeed: Speed to lerp from default Scale to highlighted Scale.

Last updated