|
|
|
@ -95,7 +95,7 @@ namespace Fungus
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public virtual void Stop() |
|
|
|
|
public virtual void StopParentBlock() |
|
|
|
|
{ |
|
|
|
|
OnExit(); |
|
|
|
|
if (parentBlock != null) |
|
|
|
@ -104,6 +104,15 @@ namespace Fungus
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Called when the parent block has been requested to stop executing, and |
|
|
|
|
* this command is the currently executing command. |
|
|
|
|
* Use this callback to terminate any asynchronous operations and |
|
|
|
|
* cleanup state so that the command is ready to execute again later on. |
|
|
|
|
*/ |
|
|
|
|
public virtual void OnStopExecuting() |
|
|
|
|
{} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Called when the new command is added to a block in the editor. |
|
|
|
|
*/ |
|
|
|
|