Свойство | Тип | Описание | |
---|---|---|---|
background | UIWidget, | ||
maxColumns | int | ||
maxItemCount | int | ||
maxRows | int | ||
padding | int | ||
pickupSound | |||
spacing | int | ||
template | GameObject |
Метод | Описание | |
---|---|---|
GetItem ( int slot ) : InvGameItem, |
Convenience function that returns an item at the specified slot.
|
|
PlaceItemInNextAvailableSlot ( InvGameItem, item ) : bool |
Replace an item in the container with the specified one.
|
|
Replace ( int slot, InvGameItem, item ) : InvGameItem, | ||
ReplaceExisting ( int slot, InvGameItem, item ) : InvGameItem, | ||
Start ( ) : void |
Initialize the container and create an appropriate number of UI slots.
|
public GetItem ( int slot ) : InvGameItem, | ||
slot | int | |
Результат | InvGameItem, |
public PlaceItemInNextAvailableSlot ( InvGameItem, item ) : bool | ||
item | InvGameItem, | |
Результат | bool |
public Replace ( int slot, InvGameItem, item ) : InvGameItem, | ||
slot | int | |
item | InvGameItem, | |
Результат | InvGameItem, |
public ReplaceExisting ( int slot, InvGameItem, item ) : InvGameItem, | ||
slot | int | |
item | InvGameItem, | |
Результат | InvGameItem, |
public AudioClip,UnityEngine pickupSound | ||
Результат |