Use the Behavior Designer Pro integration when a finite state machine should start, stop, inspect, or exchange variables with a behavior tree without duplicating the tree as States.

Install the integration

  1. Download the current Behavior Designer Pro integration from Opsive Downloads.
  2. Import BehaviorDesignerStateDesigner.unitypackage.
  3. Confirm Start Behavior Tree appears in the State Palette.

What the integration adds

  • State Designer nodes: Start Behavior Tree, Stop Behavior Tree, Is Behavior Tree Active, Compare Behavior Tree Status, Synchronize Behavior Tree Variables.
  • Behavior Designer Pro tasks: Start State Machine, Stop State Machine, Is State Machine Active, Compare State Machine Status, Synchronize State Machine Variables.

Build a first workflow

  1. Put a Behavior Tree component on the object that owns a reusable decision flow.
  2. Add Start Behavior Tree to the entering State and assign that component.
  3. Use Compare Behavior Tree Status on a transition or later State.
  4. Synchronize only the Shared Variables that cross the graph boundary.
  5. Stop or resume the tree deliberately when the State exits.