Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    System.Object
    Node
    DecoratorNode
    DelayNode
    Inherited Members
    DecoratorNode.child
    DecoratorNode.AddChild(Node)
    DecoratorNode.RemoveChild(Node)
    DecoratorNode.GetChildren()
    Node.state
    Node.IsStarted
    Node.guid
    Node.nodeGraphPosition
    Node.hasMultipleParents
    Node.Update()
    Node.Clone()
    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
    Node.NodeReset()

    OnStart()

    Runs when the Node first starts running. Initialize the Node.

    Declaration
    protected override void OnStart()
    Overrides
    Node.OnStart()

    OnStop()

    Runs when the Node Stops. Any Cleanup that the Node may need to do.

    Declaration
    protected override void OnStop()
    Overrides
    Node.OnStop()

    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.

    Overrides
    Node.OnUpdate()
    In This Article
    Back to top Generated by DocFX