v3.6.1 Documentation
Fungus.DragCancelled Class Reference

The block will execute when the player drags an object and releases it without dropping it on a target object. More...

Inheritance diagram for Fungus.DragCancelled:
Fungus.EventHandler

Classes

class  DragCancelledEvent
 

Public Member Functions

virtual void OnDragCancelled (Draggable2D draggableObject)
 
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 ()
 
virtual void OnDragCancelledEvent (DragCancelledEvent evt)
 

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 drags an object and releases it without dropping it on a target object.

Definition at line 15 of file DragCancelled.cs.

Member Function Documentation

◆ GetSummary()

override string Fungus.DragCancelled.GetSummary ( )
virtual

Returns custom summary text for the event handler.

Reimplemented from Fungus.EventHandler.

Definition at line 60 of file DragCancelled.cs.

◆ OnDisable()

virtual void Fungus.DragCancelled.OnDisable ( )
protectedvirtual

Definition at line 38 of file DragCancelled.cs.

◆ OnDragCancelled()

virtual void Fungus.DragCancelled.OnDragCancelled ( Draggable2D  draggableObject)
virtual

Definition at line 52 of file DragCancelled.cs.

◆ OnDragCancelledEvent()

virtual void Fungus.DragCancelled.OnDragCancelledEvent ( DragCancelledEvent  evt)
protectedvirtual

Definition at line 45 of file DragCancelled.cs.

◆ OnEnable()

virtual void Fungus.DragCancelled.OnEnable ( )
protectedvirtual

Definition at line 31 of file DragCancelled.cs.

Member Data Documentation

◆ draggableObject

Draggable2D Fungus.DragCancelled.draggableObject
protected

Definition at line 27 of file DragCancelled.cs.

◆ eventDispatcher

EventDispatcher Fungus.DragCancelled.eventDispatcher
protected

Definition at line 29 of file DragCancelled.cs.


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