v3.6.1 Documentation
Fungus.DragEntered Class Reference

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

Inheritance diagram for Fungus.DragEntered:
Fungus.EventHandler

Classes

class  DragEnteredEvent
 

Public Member Functions

virtual void OnDragEntered (Draggable2D draggableObject, Collider2D targetObject)
 Called by the Draggable2D object when the the drag enters the drag target. 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 starts touching the target object.

Definition at line 18 of file DragEntered.cs.

Member Function Documentation

◆ GetSummary()

override string Fungus.DragEntered.GetSummary ( )
virtual

Returns custom summary text for the event handler.

Reimplemented from Fungus.EventHandler.

Definition at line 70 of file DragEntered.cs.

◆ OnDisable()

virtual void Fungus.DragEntered.OnDisable ( )
protectedvirtual

Definition at line 45 of file DragEntered.cs.

◆ OnDragEntered()

virtual void Fungus.DragEntered.OnDragEntered ( Draggable2D  draggableObject,
Collider2D  targetObject 
)
virtual

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

Definition at line 61 of file DragEntered.cs.

◆ OnEnable()

virtual void Fungus.DragEntered.OnEnable ( )
protectedvirtual

Definition at line 38 of file DragEntered.cs.

Member Data Documentation

◆ draggableObject

Draggable2D Fungus.DragEntered.draggableObject
protected

Definition at line 31 of file DragEntered.cs.

◆ eventDispatcher

EventDispatcher Fungus.DragEntered.eventDispatcher
protected

Definition at line 36 of file DragEntered.cs.

◆ targetObject

Collider2D Fungus.DragEntered.targetObject
protected

Definition at line 34 of file DragEntered.cs.


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