tools-unity-behavior-designer

Automate Unity AI design with Behavior Designer behavior trees and custom tasks.

6|1|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/tjboudreaux/cc-plugin-unity-gamedev --skill tools-unity-behavior-designer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tools-unity-behavior-designer
Source: https://github.com/tjboudreaux/cc-plugin-unity-gamedev/tree/main/skills/tools-unity-behavior-designer
Command: npx skills add https://github.com/tjboudreaux/cc-plugin-unity-gamedev --skill tools-unity-behavior-designer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Behavior Designer patterns simplify creating robust AI behaviors in Unity by providing reusable tasks, shared variables, and debugging tools.

Core Features & Use Cases

  • Behavior Tree structure: Selector, Sequence, and Decorator patterns for modular AI.
  • Custom Tasks and Shared Variables: Create tasks like AttackTarget, IsTargetInRange, WeightedSelector, and share data via SharedGameObject, SharedTransform, and other shared types.
  • GAS integration and debugging: Examples show how to integrate with GAS and debug behavior trees in Unity.

Quick Start

Create a simple enemy AI that patrols between waypoints and engages a target when detected.

Frequently Asked Questions about tools-unity-behavior-designer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build Unity AI behavior trees for enemy NPCs?

Unity AI behavior trees structure enemy NPC logic using Selector, Sequence, and Decorator patterns for modular decision-making. This approach simplifies creating robust AI by composing reusable tasks and sharing data via SharedGameObject and SharedTransform variables.

What is the best way to create custom tasks in Unity behavior trees?

Custom tasks in Unity behavior trees are created by defining specific actions like AttackTarget or conditions like IsTargetInRange. These tasks integrate into the behavior tree structure and share data dynamically using shared variables across the AI hierarchy.

Can I use behavior trees for boss patterns and companion behaviors in Unity?

Behavior trees handle boss patterns and companion behaviors in Unity by leveraging modular task composition. Selectors and sequences enable complex decision-making, while conditional aborts allow AI to react dynamically to changing combat states.

How do conditional aborts work in Unity behavior tree design?

Conditional aborts in Unity behavior tree design interrupt active tasks when specified conditions change. This mechanism ensures AI immediately transitions behaviors, maintaining responsive enemy decision-making without waiting for current tasks to finish executing.

Does this behavior tree approach support GAS integration in Unity?

The behavior tree approach supports GAS integration in Unity, allowing AI tasks to interact directly with the Gameplay Ability System. Examples also include debugging utilities to monitor behavior tree execution and shared variable states during gameplay.

Why use shared variables in Unity behavior trees instead of direct references?

Shared variables in Unity behavior trees enable secure data passing between tasks without hard-coded references. Using types like SharedTransform ensures AI tasks access dynamic targets consistently, preventing null reference errors during enemy engagement.