Class BehaviorTreeNode
This class represents a BehaviorTree node. A BehaviorTree node is a type of SequenceNode and serves as the root of the behavior tree.
Inheritance
BehaviorTreeNode
Implements
Inherited Members
Namespace: EyeAuras.BehaviorTree.Nodes.ControlFlow
Assembly: EyeAuras.BehaviorTree.dll
Syntax
[AuraEntity(Name = "Behavior Tree", Category = "Behavior Tree")]
public sealed class BehaviorTreeNode : NodeBase<BehaviorTreeNodeProperties>, IEntityContainer, IBehaviorTreeNode, IControlFlowNode, INode<BehaviorTreeNodeProperties>, INode, IBTNode, IBehaviorTreeSerializable, ICanSetName, IHasName, IAuraObject<BehaviorTreeNodeProperties>, IAuraObject, IBindableReactiveObject, IHasId, IHasTypedId<string>, ICanSetContext, IHasContext, IHasErrors, IDisposable, INotifyPropertyChanged, IHasError, IHasErrorProvider
Constructors
| Name | Description |
|---|---|
| BehaviorTreeNode(IBTSharedNodesStorage) |
Properties
| Name | Description |
|---|---|
| IsShared | |
| MaxInputs | |
| MaxOutputs |
Methods
| Name | Description |
|---|---|
| TickInternal(CancellationToken) | This abstract method defines the main logic of the node and must be implemented in child classes. |
| VisitLoad(BehaviorTreeNodeProperties) | |
| VisitSave(BehaviorTreeNodeProperties) |