FavItemsMenu
FavItemsMenu manages the creation and navigation of the Radial Menu. It also handles adding, referencing, and removing FavItemReferences for each FavItemSlot.
Last updated
FavItemsMenu manages the creation and navigation of the Radial Menu. It also handles adding, referencing, and removing FavItemReferences for each FavItemSlot.
Last updated
radialMenuSize: Amount of items that can be pinned to favorite.
buttonPrefab: to instantiate at the radial menu.
menuRadius: Defines the size of the Menu in the UI
highlightText: When hovering an Item, this text displays its Name
highlightIcon: When hovering an Item, this text displays its Icon
RadialMenuSize
Amount of in the Menu.
CreateMenu()
Generates and Populates the Radial Menu
ContainsItemReferenceInPinned(FavItemReference favItemReference)
Check if any existing FavItemReference in the already pinned favorites matches the passed favItemReference
AddItemReferenceToPinned(FavItemReference favItemReference)
Add a new reference ( passed favItemReference ) to the Menu.
UnpinFromFavMenu(InventorySlot slot)
Unpins an Inventory Slot from the favoritesList
UnpinBasedOnIndex(int slotIndex)
Unpins an Inventory Slot from the favoritesList based on the index it occupies in favoritesList
Highlight(FavItemReference favItemReference)
Highlight a Favorite Item and display its Icon & Name
Unhighlight(int slotIndex)
Unhighlights a Favorite Item.
FavItemReference