C# Class AttachedItem, planet-survival

Inheritance: MonoBehaviour, IPointerEnterHandler, IPointerExitHandler, IPointerClickHandler, IBeginDragHandler, IDragHandler, IEndDragHandler
Mostrar archivo Open project: gjrfytn/planet-survival Class Usage Examples

Public Properties

Property Type Description
CurrentSlot Transform
DraggingItem GameObject
DraggingSlot Transform
Duplicate GameObject
Item Item,
LastSlot Transform
StackSize int

Public Methods

Method Description
CreateDuplicate ( GameObject Item ) : void
OnBeginDrag ( PointerEventData data ) : void
OnDrag ( PointerEventData data ) : void
OnEndDrag ( PointerEventData data ) : void
OnPointerClick ( PointerEventData data ) : void
OnPointerEnter ( PointerEventData data ) : void
OnPointerExit ( PointerEventData data ) : void

Private Methods

Method Description
Start ( ) : void

Method Details

CreateDuplicate() public method

public CreateDuplicate ( GameObject Item ) : void
Item GameObject
return void

OnBeginDrag() public method

public OnBeginDrag ( PointerEventData data ) : void
data UnityEngine.EventSystems.PointerEventData
return void

OnDrag() public method

public OnDrag ( PointerEventData data ) : void
data UnityEngine.EventSystems.PointerEventData
return void

OnEndDrag() public method

public OnEndDrag ( PointerEventData data ) : void
data UnityEngine.EventSystems.PointerEventData
return void

OnPointerClick() public method

public OnPointerClick ( PointerEventData data ) : void
data UnityEngine.EventSystems.PointerEventData
return void

OnPointerEnter() public method

public OnPointerEnter ( PointerEventData data ) : void
data UnityEngine.EventSystems.PointerEventData
return void

OnPointerExit() public method

public OnPointerExit ( PointerEventData data ) : void
data UnityEngine.EventSystems.PointerEventData
return void

Property Details

CurrentSlot public_oe property

public Transform CurrentSlot
return Transform

DraggingItem public_oe static_oe property

public static GameObject DraggingItem
return GameObject

DraggingSlot public_oe property

public Transform DraggingSlot
return Transform

Duplicate public_oe property

public GameObject Duplicate
return GameObject

Item public_oe property

public Item, Item
return Item,

LastSlot public_oe property

public Transform LastSlot
return Transform

StackSize public_oe property

public int StackSize
return int