behavior-trees
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
behavior-trees [2020/07/17 15:11] – maxime | behavior-trees [2021/07/29 11:56] (current) – maxime | ||
---|---|---|---|
Line 45: | Line 45: | ||
==== Functions ==== | ==== Functions ==== | ||
- | A leaf node has three basic functions: '' | + | A leaf node has three basic functions: '' |
+ | |||
+ | === Init === | ||
+ | |||
+ | '' | ||
+ | |||
+ | ^ Name ^ Type ^ | ||
+ | | //'' | ||
+ | |||
+ | === Update | ||
+ | |||
+ | '' | ||
+ | |||
+ | ^ Name ^ Type ^ | ||
+ | | //'' | ||
+ | | //'' | ||
+ | |||
+ | === Finish === | ||
+ | |||
+ | '' | ||
+ | |||
+ | ^ Name ^ Type ^ | ||
+ | | //'' | ||
When a node is executed, the '' | When a node is executed, the '' | ||
You can access all of the node's variables in those functions with '' | You can access all of the node's variables in those functions with '' |
behavior-trees.txt · Last modified: 2021/07/29 11:56 by maxime