|
bool | Attach (Item it) |
|
void | Detach () |
|
bool | Fits (Item it) |
|
bool | IsEmpty () |
|
void | AssignEvents (UnityAction< ItemSlot > attached, UnityAction< ItemSlot > detached) |
|
bool | IsSlotType (int bits) |
|
void | TransformOnBone (Item it) |
|
bool | CanAttach (Item it) |
|
|
static ItemSlotType | GetSlotTypeWithout (ItemSlotType type, int bits) |
|
static ItemSlot | GetFirstSlotForType (ItemSlot[] slots, ItemSlotType type) |
|
static int | GetFirstSlotIndexForItem (ItemSlot[] slots, Item item, bool hasItem) |
|
static int | GetFirstSlotIndexForSlotType (ItemSlot[] slots, ItemSlotType slotType, bool hasItem) |
|
static ItemSlot | GetFirstSlotForItem (ItemSlot[] slots, Item item, bool hasItem) |
|
static ItemSlot | GetFirstSlotForSlotType (ItemSlot[] slots, ItemSlotType slotType, bool hasItem) |
|
|
ItemSlotType | slotType |
|
string | boneName |
|
Transform | bone |
|
Vector3 | offset |
|
Vector3 | rotation |
|
bool | dropWhenDead |
|
Item | item |
|
bool | attachmentTransformed = false |
|
Transform | parent |
|
ItemSlotEvent | Attached |
|
ItemSlotEvent | Detached |
|
List< Func< Item, bool > > | canAttachChecker |
|
The documentation for this class was generated from the following file:
- C:/Transhuman/S2/Assets/Engine/Object/Slots.cs