프로퍼티 | 타입 | 설명 | |
---|---|---|---|
activeCommand | Fungus.Command | ||
executionCount | int | ||
executionInfoSet | bool | ||
executionState | ExecutionState | ||
jumpToCommandIndex | int | ||
previousActiveCommandIndex | int |
메소드 | 설명 | |
---|---|---|
Execute ( int commandIndex, System.Action onComplete = null ) : IEnumerator |
A coroutine method that executes all commands in the Block. Only one running instance of each Block is permitted.
|
|
GetConnectedBlocks ( ) : List |
Returns a list of all Blocks connected to this one.
|
|
GetExecutionCount ( ) : int |
Returns the number of times this Block has executed.
|
|
GetFlowchart ( ) : Flowchart |
Returns the parent Flowchart for this Block.
|
|
GetLabelIndex ( string labelKey ) : int |
Returns the index of the Label command with matching key, or -1 if not found.
|
|
GetPreviousActiveCommandType ( ) : |
Returns the type of the previously executing command.
|
|
IsExecuting ( ) : bool |
Returns true if the Block is executing a command.
|
|
StartExecution ( ) : void |
Start a coroutine which executes all commands in the Block. Only one running instance of each Block is permitted.
|
|
Stop ( ) : void |
Stop executing commands in this Block.
|
|
UpdateIndentLevels ( ) : void |
Recalculate the indent levels for all commands in the list.
|
메소드 | 설명 | |
---|---|---|
Awake ( ) : void | ||
SetExecutionInfo ( ) : void |
Populate the command metadata used to control execution.
|
|
Update ( ) : void |
public Execute ( int commandIndex, System.Action onComplete = null ) : IEnumerator | ||
commandIndex | int | Index of command to start execution at |
onComplete | System.Action | Delegate function to call when execution completes |
리턴 | IEnumerator |