NGUI: Next-Gen UI kit
3.7.2
|
A UI script that keeps an eye on the slot in a storage container. More...
Public Attributes | |
UIItemStorage | storage |
int | slot = 0 |
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 a storage container.
|
protectedvirtual |
Replace the observed item with the specified value. Should return the item that was replaced.
Implements UIItemSlot.
int UIStorageSlot.slot = 0 |
UIItemStorage UIStorageSlot.storage |
|
getprotected |