NGUI: Next-Gen UI kit
3.7.2
|
A UI script that keeps an eye on the slot in character equipment. More...
Public Attributes | |
InvEquipment | equipment |
InvBaseItem.Slot | slot |
Public Attributes inherited from UIItemSlot | |
UISprite | icon |
UIWidget | background |
UILabel | label |
AudioClip | grabSound |
AudioClip | placeSound |
AudioClip | errorSound |
Protected Member Functions | |
override InvGameItem | Replace (InvGameItem item) |
Replace the observed item with the specified value. Should return the item that was replaced. More... | |
Properties | |
override InvGameItem | observedItem [get] |
Properties inherited from UIItemSlot | |
abstract InvGameItem | observedItem [get] |
This function should return the item observed by this UI class. More... | |
A UI script that keeps an eye on the slot in character equipment.
|
protectedvirtual |
Replace the observed item with the specified value. Should return the item that was replaced.
Implements UIItemSlot.
InvEquipment UIEquipmentSlot.equipment |
InvBaseItem.Slot UIEquipmentSlot.slot |
|
getprotected |