C# Class Fungus.DragCompleted

Inheritance: EventHandler
Afficher le fichier Open project: snozbot/fungus Class Usage Examples

Protected Properties

Свойство Type Description
overTarget bool

Méthodes publiques

Méthode Description
GetSummary ( ) : string
IsOverTarget ( ) : bool

Returns true if the draggable object is over the drag target object.

OnDragCompleted ( Draggable2D draggableObject ) : void

Called by the Draggable2D object when the the drag ends over the drag target.

OnDragCompletedEvent ( DragCompletedEvent evt ) : void
OnDragEntered ( Draggable2D draggableObject, Collider2D targetObject ) : void

Called by the Draggable2D object when the it enters the drag target.

OnDragEnteredEvent ( DragEntered evt ) : void
OnDragExited ( Draggable2D draggableObject, Collider2D targetObject ) : void

Called by the Draggable2D object when the it exits the drag target.

OnDragExitedEvent ( DragExited evt ) : void

Méthodes protégées

Méthode Description
UnityOnDisable ( ) : void
UnityOnEnable ( ) : void

Method Details

GetSummary() public méthode

public GetSummary ( ) : string
Résultat string

IsOverTarget() public méthode

Returns true if the draggable object is over the drag target object.
public IsOverTarget ( ) : bool
Résultat bool

OnDragCompleted() public méthode

Called by the Draggable2D object when the the drag ends over the drag target.
public OnDragCompleted ( Draggable2D draggableObject ) : void
draggableObject Draggable2D
Résultat void

OnDragCompletedEvent() public méthode

public OnDragCompletedEvent ( DragCompletedEvent evt ) : void
evt DragCompletedEvent
Résultat void

OnDragEntered() public méthode

Called by the Draggable2D object when the it enters the drag target.
public OnDragEntered ( Draggable2D draggableObject, Collider2D targetObject ) : void
draggableObject Draggable2D
targetObject UnityEngine.Collider2D
Résultat void

OnDragEnteredEvent() public méthode

public OnDragEnteredEvent ( DragEntered evt ) : void
evt DragEntered
Résultat void

OnDragExited() public méthode

Called by the Draggable2D object when the it exits the drag target.
public OnDragExited ( Draggable2D draggableObject, Collider2D targetObject ) : void
draggableObject Draggable2D
targetObject UnityEngine.Collider2D
Résultat void

OnDragExitedEvent() public méthode

public OnDragExitedEvent ( DragExited evt ) : void
evt DragExited
Résultat void

UnityOnDisable() protected méthode

protected UnityOnDisable ( ) : void
Résultat void

UnityOnEnable() protected méthode

protected UnityOnEnable ( ) : void
Résultat void

Property Details

overTarget protected_oe property

protected bool overTarget
Résultat bool