C# Class InventoryItemController, TimeLapsus

Inheritance: MonoBehaviour
Show file Open project: halbich/TimeLapsus Class Usage Examples

Public Properties

Property Type Description
DraggedObject InventoryItemController,
DraggedOver ItemUsableArea,
ItemId EnumItemID

Public Methods

Method Description
OnBeginDrag ( PointerEventData eventData ) : void
OnDrag ( PointerEventData eventData ) : void
OnEndDrag ( PointerEventData eventData ) : void
OnPointerDown ( PointerEventData eventData ) : void
OnPointerEnter ( PointerEventData eventData ) : void
OnPointerExit ( PointerEventData eventData ) : void
OnPointerUp ( PointerEventData eventData ) : void
SetItem ( EnumItemID itemId ) : void
SetPosition ( int itemIndex ) : void

Protected Methods

Method Description
Start ( ) : void

Private Methods

Method Description
InventoryItemController ( ) : Assets.Scripts

Method Details

OnBeginDrag() public method

public OnBeginDrag ( PointerEventData eventData ) : void
eventData PointerEventData
return void

OnDrag() public method

public OnDrag ( PointerEventData eventData ) : void
eventData PointerEventData
return void

OnEndDrag() public method

public OnEndDrag ( PointerEventData eventData ) : void
eventData PointerEventData
return void

OnPointerDown() public method

public OnPointerDown ( PointerEventData eventData ) : void
eventData PointerEventData
return void

OnPointerEnter() public method

public OnPointerEnter ( PointerEventData eventData ) : void
eventData PointerEventData
return void

OnPointerExit() public method

public OnPointerExit ( PointerEventData eventData ) : void
eventData PointerEventData
return void

OnPointerUp() public method

public OnPointerUp ( PointerEventData eventData ) : void
eventData PointerEventData
return void

SetItem() public method

public SetItem ( EnumItemID itemId ) : void
itemId EnumItemID
return void

SetPosition() public method

public SetPosition ( int itemIndex ) : void
itemIndex int
return void

Start() protected method

protected Start ( ) : void
return void

Property Details

DraggedObject public static property

public static InventoryItemController, DraggedObject
return InventoryItemController,

DraggedOver public property

public ItemUsableArea, DraggedOver
return ItemUsableArea,

ItemId public property

public EnumItemID ItemId
return EnumItemID