Class Composite
Composite nodes serves as a control structure that manages the flow and organization of other nodes within the tree.
Inherited Members
Namespace: Unity.Muse.Behavior
Assembly: Unity.Muse.Behavior.dll
Syntax
[Serializable]
public abstract class Composite : Node
Properties
Children
The children of the node.
Declaration
[JsonProperty]
public List<Node> Children { get; }
Property Value
Parent
The parent of the node.
Declaration
[JsonProperty]
public Node Parent { get; }
Property Value
Type | Description |
---|---|
Node |
Methods
Add(Node)
Declaration
public void Add(Node child)
Parameters
Type | Name | Description |
---|---|---|
Node | child |
AwakeParents()
Declaration
protected override void AwakeParents()
Overrides
ResetStatus()
Declaration
protected override void ResetStatus()