Search Results for

    Show / Hide Table of Contents

    Class CompositeNode

    Node that has a list of children.

    Inheritance
    System.Object
    Node
    CompositeNode
    SequencerNode
    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 CompositeNode : Node

    Fields

    children

    Declaration
    protected List<Node> children
    Field Value
    Type Description
    List<Node>

    The Children that this Node contains.

    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