Intro
There are several implementations of behaviors included in the Defaults library. They can be added to a SteeringSystemAsset in the editor. Each behavior must have some things to work. For example, here are all the types relevant for one of the provided simple behaviors, the Wandering behavior:
- Job -
WanderingJob- implements the logic of the behavior - Component -
WanderingComponent- how an entity responds to the behavior depends on properties of this component - JobWrapper -
WanderingJobWrapper- schedulesWanderingJob - Authoring -
WanderingAuthoring- attaches theWanderingComponentto an entity
note
The two important pieces to focus on are the -Job and the -Component. The -JobWrapper and -Authoring are mostly only needed for editor functionality.
tip
Every implementation of a behavior in the defaults library follows the same naming pattern BehaviorNameJob, BehaviorNameComponent, BehaviorNameJobWrapper and BehaviorNameAuthoring.