v3.6.1 Documentation
Fungus.DragExited Class Reference

The block will execute when the player is dragging an object which stops touching the target object. More...

Inheritance diagram for Fungus.DragExited:
Fungus.EventHandler

Classes

class  DragExitedEvent
 

Public Member Functions

virtual void OnDragExited (Draggable2D draggableObject, Collider2D targetObject)
 Called by the Draggable2D object when the drag exits from the targetObject. More...
 
override string GetSummary ()
 Returns custom summary text for the event handler. More...
 
- Public Member Functions inherited from Fungus.EventHandler
virtual bool ExecuteBlock ()
 The Event Handler should call this method when the event is detected to start executing the Block. More...
 

Protected Member Functions

virtual void OnEnable ()
 
virtual void OnDisable ()
 

Protected Attributes

Draggable2D draggableObject
 
Collider2D targetObject
 
EventDispatcher eventDispatcher
 
- Protected Attributes inherited from Fungus.EventHandler
Block parentBlock
 

Additional Inherited Members

- Properties inherited from Fungus.EventHandler
virtual Block ParentBlock [get, set]
 The parent Block which owns this Event Handler. More...
 

Detailed Description

The block will execute when the player is dragging an object which stops touching the target object.

Definition at line 15 of file DragExited.cs.

Member Function Documentation

◆ GetSummary()

override string Fungus.DragExited.GetSummary ( )
virtual

Returns custom summary text for the event handler.

Reimplemented from Fungus.EventHandler.

Definition at line 69 of file DragExited.cs.

◆ OnDisable()

virtual void Fungus.DragExited.OnDisable ( )
protectedvirtual

Definition at line 43 of file DragExited.cs.

◆ OnDragExited()

virtual void Fungus.DragExited.OnDragExited ( Draggable2D  draggableObject,
Collider2D  targetObject 
)
virtual

Called by the Draggable2D object when the drag exits from the targetObject.

Definition at line 60 of file DragExited.cs.

◆ OnEnable()

virtual void Fungus.DragExited.OnEnable ( )
protectedvirtual

Definition at line 36 of file DragExited.cs.

Member Data Documentation

◆ draggableObject

Draggable2D Fungus.DragExited.draggableObject
protected

Definition at line 29 of file DragExited.cs.

◆ eventDispatcher

EventDispatcher Fungus.DragExited.eventDispatcher
protected

Definition at line 34 of file DragExited.cs.

◆ targetObject

Collider2D Fungus.DragExited.targetObject
protected

Definition at line 32 of file DragExited.cs.


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