C# Class Fungus.ObjectClicked

Inheritance: EventHandler
Show file Open project: snozbot/fungus

Public Methods

Method Description
GetSummary ( ) : string
OnObjectClicked ( Clickable2D clickableObject ) : void

Called by the Clickable2D object when it is clicked.

OnObjectClickedEvent ( ObjectClickedEvent evt ) : void

Protected Methods

Method Description
DoExecuteBlock ( int numFrames ) : IEnumerator

Executing a block on the same frame that the object is clicked can cause input problems (e.g. auto completing Say Dialog text). A single frame delay fixes the problem.

UnityOnDisable ( ) : void
UnityOnEnable ( ) : void

Method Details

DoExecuteBlock() protected method

Executing a block on the same frame that the object is clicked can cause input problems (e.g. auto completing Say Dialog text). A single frame delay fixes the problem.
protected DoExecuteBlock ( int numFrames ) : IEnumerator
numFrames int
return IEnumerator

GetSummary() public method

public GetSummary ( ) : string
return string

OnObjectClicked() public method

Called by the Clickable2D object when it is clicked.
public OnObjectClicked ( Clickable2D clickableObject ) : void
clickableObject Clickable2D
return void

OnObjectClickedEvent() public method

public OnObjectClickedEvent ( ObjectClickedEvent evt ) : void
evt ObjectClickedEvent
return void

UnityOnDisable() protected method

protected UnityOnDisable ( ) : void
return void

UnityOnEnable() protected method

protected UnityOnEnable ( ) : void
return void