Visual node-based action design system for Unity projects. Provides context and workflows for Claude Code when working with Action Designer repositories.
Provides Claude Code with project context and development workflows for Unity Action Designer projects - a visual node-based action design system similar to behavior trees.
When working with a Unity Action Designer repository, this skill helps Claude Code understand:
When you detect a Unity project with Action Designer components (look for `ActionDesigner.Runtime` namespace, `Action.cs`, `BaseNode.cs`, or the CLAUDE.md file), apply this context:
**Core Runtime System (`ActionDesigner.Runtime`):**
**Editor Tooling (`ActionDesigner.Editor`):**
**Type-Based Dynamic Node Creation:**
**Behavior System:**
**Condition System:**
**Opening and Running:**
**Creating New Behaviors:**
1. Create class in `Tasks/` folder implementing `IBehavior`
2. Implement `Start()` and `Update()` methods
3. Use `[SubclassSelector]` attribute for editor dropdown support
4. Node will appear in search window automatically
**Creating New Conditions:**
1. Create class in `Conditions/` folder implementing `ICondition`
2. Implement condition evaluation logic
3. Use SerializeReference for polymorphic serialization
4. Available in node search window once compiled
**Node Creation Workflow:**
1. Use node search window to find and create nodes
2. Nodes created with type/namespace strings
3. Objects instantiated via reflection at runtime
4. Connect nodes via parent-child relationships (stored as ID lists)
5. `ActionRunner` traverses graph and executes at runtime
**SerializeReferenceExtensions:**
**InputSystem:**
Based on typical Action Designer evolution:
**When asked to "add a new wait behavior":**
1. Read existing behaviors in `Tasks/` folder to understand pattern
2. Create new class implementing `IBehavior` with timer logic
3. Ensure `Start()` initializes state and `Update()` returns completion status
4. Verify SerializeReference attributes are present
5. Test in Unity editor via Action Designer window
**When asked to "fix node connection issues":**
1. Check `BaseNode.childrenID` lists for integrity
2. Verify parent-child relationships in `Action.cs` node management
3. Review `CustomActionView.cs` for edge creation logic
4. Test drag-and-drop connection workflow in editor
**When asked to "explain the execution flow":**
1. Start with `ActionRunner.cs` - the runtime executor
2. Explain node graph traversal via parent-child relationships
3. Describe behavior `Start()` / `Update()` lifecycle
4. Show how conditions control flow branching
5. Reference composite behaviors for complex flows
---
This skill enables Claude Code to work effectively with Unity Action Designer projects by providing architectural context, development patterns, and workflow guidance without requiring repeated explanations.
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/unity-action-designer-development/raw