Optional
options: { Optional
context?: anyOptional
isAny internal state used by the behavior This provides a way to interact with the outside as well as to pass data between themselves
Readonly
onDispatched after finalization is complete
Readonly
onDispatched after initialization is complete
Called before behavior gets executed via tick for the first time Used to prepare the behavior for execution You can think of it as "start"
Main update function. Every behavior executes some logic, some behaviors are long-running and some are instantaneous
time step in seconds
signals status of the behavior, "success" or "failure" are used to signal completion of the behavior
Base class of behavior tree implementation