Definition at line 5 of file UIInventoryBar.cs.
◆ Awake()
| void UIInventoryBar.Awake |
( |
| ) |
|
|
inlineprivate |
◆ ClearHighlightOnInventorySlots()
| void UIInventoryBar.ClearHighlightOnInventorySlots |
( |
| ) |
|
|
inline |
◆ ClearInventorySlots()
| void UIInventoryBar.ClearInventorySlots |
( |
| ) |
|
|
inlineprivate |
◆ InventoryUpdated()
Draw the images of new items in the inventory.
- Parameters
-
| inventoryLocation | |
| inventoryList | |
Definition at line 100 of file UIInventoryBar.cs.
◆ OnDisable()
| void UIInventoryBar.OnDisable |
( |
| ) |
|
|
inlineprivate |
Unsubscribed to InventoryUpdatedEvent to trigger InventoryUpdated method.
Definition at line 41 of file UIInventoryBar.cs.
◆ OnEnable()
| void UIInventoryBar.OnEnable |
( |
| ) |
|
|
inlineprivate |
Subscribed to InventoryUpdatedEvent to trigger InventoryUpdated method.
Definition at line 33 of file UIInventoryBar.cs.
◆ SetHighlightedInventorySlots() [1/2]
| void UIInventoryBar.SetHighlightedInventorySlots |
( |
| ) |
|
|
inline |
Set the selected highlight if set on all inventory item position
Definition at line 141 of file UIInventoryBar.cs.
◆ SetHighlightedInventorySlots() [2/2]
| void UIInventoryBar.SetHighlightedInventorySlots |
( |
int |
itemPosition | ) |
|
|
inline |
Set the selected highlight if set on an inventory item for a given slot item position
Definition at line 156 of file UIInventoryBar.cs.
◆ SwitchInventoryBarPosition()
| void UIInventoryBar.SwitchInventoryBarPosition |
( |
| ) |
|
|
inlineprivate |
When player move to the bottom we switch our inventory to the top to avoid player been obscured.
Definition at line 173 of file UIInventoryBar.cs.
◆ Update()
| void UIInventoryBar.Update |
( |
| ) |
|
|
inlineprivate |
Switch inventory bar position depending on player position
Definition at line 49 of file UIInventoryBar.cs.
◆ m_Blank16x16Sprite
| Sprite UIInventoryBar.m_Blank16x16Sprite = null |
|
private |
◆ m_InventoryBarDraggedItem
| GameObject UIInventoryBar.m_InventoryBarDraggedItem |
◆ m_InventorySlot
◆ m_InventoryTextBoxGameObject
| GameObject UIInventoryBar.m_InventoryTextBoxGameObject |
◆ m_IsInventoryBarPositionBottom
| bool UIInventoryBar.m_IsInventoryBarPositionBottom = true |
|
private |
◆ m_RectTransform
| RectTransform UIInventoryBar.m_RectTransform |
|
private |
◆ IsInventoryBarPositionBottom
| bool UIInventoryBar.IsInventoryBarPositionBottom |
|
getset |
The documentation for this class was generated from the following file: