DODBT
- Plugin author
- Architecture and API design, implementation of the runtime, visual editor, graph compiler, debugger and tests. Unity package and documentation
- Technologies
- Unity · C# · GraphView · Odin Inspector · NUnit
Description
A Unity Behaviour Tree plugin based on Data-Oriented Design. The C# runtime is separate from the visual editor and the MonoBehaviour lifecycle. I built the tool to configure, run and debug behavior with ECS integration
Achievements
- Separated the C# runtime from MonoBehaviour so the developer controls how often behavior is selected and changed
- Separated tree structure from agent state so many characters can use one compiled tree without copying it
- Compiled graphs into compact arrays so editor data and tools stay out of the build
- Reused runtime buffers so the core does not need to recreate them on each tree update
- Created a visual editor with hints and checks so the game designer can build and tune behavior without changing code
- Added runtime graph debugging so the developer can see active branches and execution statuses in the Unity Editor
- Created a typed API for actions and context in place of a Blackboard. Dependencies are passed explicitly or through DI, and behavior integrates with ECS
- Wrote tests for node execution and interrupts so changes to the logic can be checked automatically








