v3.6.1 Documentation
Fungus.DragStarted Class Reference

The block will execute when the player starts dragging an object. More...

Inheritance diagram for Fungus.DragStarted:
Fungus.EventHandler

Classes

class  DragStartedEvent
 

Public Member Functions

virtual void OnDragStarted (Draggable2D draggableObject)
 Called by the Draggable2D object when the drag starts. 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
 
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 starts dragging an object.

Definition at line 15 of file DragStarted.cs.

Member Function Documentation

◆ GetSummary()

override string Fungus.DragStarted.GetSummary ( )
virtual

Returns custom summary text for the event handler.

Reimplemented from Fungus.EventHandler.

Definition at line 62 of file DragStarted.cs.

◆ OnDisable()

virtual void Fungus.DragStarted.OnDisable ( )
protectedvirtual

Definition at line 37 of file DragStarted.cs.

◆ OnDragStarted()

virtual void Fungus.DragStarted.OnDragStarted ( Draggable2D  draggableObject)
virtual

Called by the Draggable2D object when the drag starts.

Definition at line 54 of file DragStarted.cs.

◆ OnEnable()

virtual void Fungus.DragStarted.OnEnable ( )
protectedvirtual

Definition at line 30 of file DragStarted.cs.

Member Data Documentation

◆ draggableObject

Draggable2D Fungus.DragStarted.draggableObject
protected

Definition at line 26 of file DragStarted.cs.

◆ eventDispatcher

EventDispatcher Fungus.DragStarted.eventDispatcher
protected

Definition at line 28 of file DragStarted.cs.


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