C# Class Fungus.DragCompleted

Inheritance: EventHandler
ファイルを表示 Open project: snozbot/fungus Class Usage Examples

Protected Properties

Property Type Description
overTarget bool

Public Methods

Method 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

Protected Methods

Method Description
UnityOnDisable ( ) : void
UnityOnEnable ( ) : void

Method Details

GetSummary() public method

public GetSummary ( ) : string
return string

IsOverTarget() public method

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

OnDragCompleted() public method

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

OnDragCompletedEvent() public method

public OnDragCompletedEvent ( DragCompletedEvent evt ) : void
evt DragCompletedEvent
return void

OnDragEntered() public method

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

OnDragEnteredEvent() public method

public OnDragEnteredEvent ( DragEntered evt ) : void
evt DragEntered
return void

OnDragExited() public method

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

OnDragExitedEvent() public method

public OnDragExitedEvent ( DragExited evt ) : void
evt DragExited
return void

UnityOnDisable() protected method

protected UnityOnDisable ( ) : void
return void

UnityOnEnable() protected method

protected UnityOnEnable ( ) : void
return void

Property Details

overTarget protected_oe property

protected bool overTarget
return bool