Class DelayNode
Causes a delay in operations if the delay time is set. Time To Start is Delaying before the Node Updates. (Node is Running but not Started) OnUpdate is Called after Node is Started. Time To Stop is Delaying after the Node Finishes Running. (Node is not running, and is stopping) Causes delay in started to being set to false.
Inherited Members
Namespace: GraphViewBehaviorTree.Nodes
Assembly: cs.temp.dll.dll
Syntax
public class DelayNode : DecoratorNode
Methods
NodeReset()
Reset the Node. Calls all Nodes children to Reset. If the Node is Started calls OnStop() then sets started to false. Set the State to running.
Declaration
public override void NodeReset()
Overrides
OnStart()
Runs when the Node first starts running. Initialize the Node.
Declaration
protected override void OnStart()
Overrides
OnStop()
Runs when the Node Stops. Any Cleanup that the Node may need to do.
Declaration
protected override void OnStop()
Overrides
OnUpdate()
Runs every Update of the Node.
Declaration
protected override Node.State OnUpdate()
Returns
Type | Description |
---|---|
Node.State | The State the Node is in once it finishes Updating. |