C# Class EC.Visualization.ItemDrop

Inheritance: UnityEngine.MonoBehaviour, IDropHandler, IPointerEnterHandler, IPointerExitHandler
Afficher le fichier Open project: rygo6/VisualizationFramework-Unity Class Usage Examples

Méthodes publiques

Свойство Type Description
ChildItemDragList List

Méthodes publiques

Méthode Description
CanAttach ( string tagArray ) : bool
ContainsItem ( Item containedItem ) : bool
OnDrop ( PointerEventData data ) : void
OnPointerEnter ( PointerEventData data ) : void
OnPointerExit ( PointerEventData data ) : void
SortedItemSnapList ( PointerEventData data ) : List

Returns the preallocated and sorted _itemSnapList. Pass in a PointerEventData and it returns the itemSnapList with the itemSnaps in order of nearest to farthest.

Private Methods

Méthode Description
Awake ( ) : void
OnDropAttached ( PointerEventData data ) : void
OnPointerEnterAttached ( PointerEventData data ) : void
OnPointerExitAttached ( PointerEventData data ) : void

Method Details

CanAttach() public méthode

public CanAttach ( string tagArray ) : bool
tagArray string
Résultat bool

ContainsItem() public méthode

public ContainsItem ( Item containedItem ) : bool
containedItem Item
Résultat bool

OnDrop() public méthode

public OnDrop ( PointerEventData data ) : void
data UnityEngine.EventSystems.PointerEventData
Résultat void

OnPointerEnter() public méthode

public OnPointerEnter ( PointerEventData data ) : void
data UnityEngine.EventSystems.PointerEventData
Résultat void

OnPointerExit() public méthode

public OnPointerExit ( PointerEventData data ) : void
data UnityEngine.EventSystems.PointerEventData
Résultat void

SortedItemSnapList() public méthode

Returns the preallocated and sorted _itemSnapList. Pass in a PointerEventData and it returns the itemSnapList with the itemSnaps in order of nearest to farthest.
public SortedItemSnapList ( PointerEventData data ) : List
data UnityEngine.EventSystems.PointerEventData Data.
Résultat List

Property Details

ChildItemDragList public_oe property

public List ChildItemDragList
Résultat List