Search Results for

    Show / Hide Table of Contents

    Class DecoratorNode

    Node that has one child Node and is capable of augmenting the return state of it's childNode. The Interface, Abstract members will be implemented in the individual Decorator Nodes.

    Inheritance
    System.Object
    Node
    DecoratorNode
    DelayNode
    RepeatNode
    Inherited Members
    Node.state
    Node.IsStarted
    Node.guid
    Node.nodeGraphPosition
    Node.hasMultipleParents
    Node.OnStart()
    Node.OnStop()
    Node.OnUpdate()
    Node.NodeReset()
    Node.Update()
    Node.Clone()
    Namespace: GraphViewBehaviorTree.Nodes
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public abstract class DecoratorNode : Node

    Fields

    child

    Declaration
    protected Node child
    Field Value
    Type Description
    Node

    The Node to Augment.

    Methods

    AddChild(Node)

    Add the child node to this node.

    Declaration
    public override void AddChild(Node childNode)
    Parameters
    Type Name Description
    Node childNode

    The Node to add as a Child.

    Overrides
    Node.AddChild(Node)

    GetChildren()

    Get a list of children the node contains.

    Declaration
    public override List<Node> GetChildren()
    Returns
    Type Description
    List<Node>

    A list of children Nodes.

    Overrides
    Node.GetChildren()

    RemoveChild(Node)

    Remove a Child from the Node.

    Declaration
    public override void RemoveChild(Node childNode)
    Parameters
    Type Name Description
    Node childNode

    The Child to remove.

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