Raymond Maarloeve
Loading...
Searching...
No Matches
YourNamespace.SlotDropHandler Class Reference

Component responsible for handling UI drop events onto this slot. When an object is dropped, it is parented to this slot and centered. More...

Public Member Functions

void OnDrop (PointerEventData eventData)
 Called by the UI EventSystem when a draggable object is dropped on this slot.
 

Detailed Description

Component responsible for handling UI drop events onto this slot. When an object is dropped, it is parented to this slot and centered.

Member Function Documentation

◆ OnDrop()

void YourNamespace.SlotDropHandler.OnDrop ( PointerEventData  eventData)

Called by the UI EventSystem when a draggable object is dropped on this slot.

Parameters
eventDataEvent data containing information about the drag event, including a reference to the PointerEventData.pointerDrag GameObject.

The documentation for this class was generated from the following file: