ForestNode | |
Hierarchy: | |
Namespace | BehaviorTreeEngine |
Parent class | MonoBehaviorNodeBase |
Description: | |
Forest Node represents a group of behavior trees. The ForestNode class is a MonoBehaviorNodeBase and performs the corresponding responses of a Forest Node instance from the behavior tree engine on the Unity engine side. The ForestNode class inherits some virtual functions of OnConstruct and OnDestruct for a derived class, i.e., NewForestNode, to override. | |
Inherited Variables: | |
nodeType | The node type of this mono behavior node. |
forestIndex | The forest index of this mono behavior node. |
forestName | The forest name of this mono behavior node. |
Deprecated Variables: | |
treeIndex, nodeIndex, treeName, nodeName. | |
Inherited Functions: | |
Init | Initialize the properties of this mono behavior node. |
OnConstruct | A node operation that is invoked when loading the tree. |
OnDestruct | A node operation that is invoked when destroying the tree. |
Deprecated Functions: | |
OnExecute, OnReport, OnNotify, OnPause, OnStop, OnTest, OnStep, OnReset. | |
ForestNode.nodeType | |
Signature: | |
MonoBehaviorNodeType ForestNode.nodeType | |
Description: | |
The node type of this mono behavior node, which is always MonoBehaviorNodeType.Forest. | |
ForestNode.forestIndex | |
Signature: | |
uint ForestNode.forestIndex | |
Description: | |
The forest index of this mono behavior node. | |
ForestNode.forestName | |
Signature: | |
string ForestNode.forestName | |
Description: | |
The forest name of this mono behavior node. | |
ForestNode.Init | |
Signature: | |
void ForestNode.Init(uint ForestIndex, string ForestName) | |
Description: | |
Initializes the properties of this mono behavior node. | |
Parameters: | |
ForestIndex | The forest index of this mono behavior node. |
ForestName | The forest name of this mono behavior node. |
ForestNode.OnConstruct | |
Signature: | |
void ForestNode.OnConstruct() | |
Description: | |
A node operation that is invoked when loading the tree. Override this method in a derived class of ForestNode. | |
ForestNode.OnDestruct | |
Signature: | |
void ForestNode.OnDestruct() | |
Description: | |
A node operation that is invoked when destroying the tree. Override this method in a derived class of ForestNode. |
Copyright © 2016-2020 Qualgame, LLC