|  | FCV Engine 0.1
    A tool and framework for tutorials in game development | 
Handles the individual weapon slot UI, including displaying weapon sprites, slot indices, and managing the border state. More...
 
 | Public Member Functions | |
| void | SetImage (Sprite weaponSprite) | 
| Sets the image for the weapon slot. | |
| void | SetSlotIndex (int key) | 
| Sets the text for the weapon slot, indicating the key to press for equipping the weapon. | |
| void | SetBorderActiveState (bool active) | 
| Sets the active state of the slot border. | |
Handles the individual weapon slot UI, including displaying weapon sprites, slot indices, and managing the border state.
Definition at line 11 of file WeaponSlotUI.cs.
| void SetBorderActiveState | ( | bool | active | ) | 
Sets the active state of the slot border.
| active | True to activate the border, false to deactivate it. | 
Definition at line 39 of file WeaponSlotUI.cs.
| void SetImage | ( | Sprite | weaponSprite | ) | 
Sets the image for the weapon slot.
| weaponSprite | The sprite representing the weapon to display in the slot. | 
Definition at line 21 of file WeaponSlotUI.cs.
| void SetSlotIndex | ( | int | key | ) | 
Sets the text for the weapon slot, indicating the key to press for equipping the weapon.
| key | The key index (typically incremented from the weapon controller) associated with the weapon. | 
Definition at line 30 of file WeaponSlotUI.cs.