unity-animator

Edit Unity Animator Controllers and drive runtime animation parameters.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/Rayzerrek/dotfiles --skill unity-animator-rayzerrek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-animator
Source: https://github.com/Rayzerrek/dotfiles/tree/main/.pi/agent/skills/unity-skills/skills/animator
Command: npx skills add https://github.com/Rayzerrek/dotfiles --skill unity-animator-rayzerrek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the friction of managing Unity animation logic by helping you create, inspect, and wire Animator Controllers without hand-editing complex state machines.

Core Features & Use Cases

  • Controller Setup: Create Animator Controllers, add layers, and define parameters for character or UI animation systems.
  • State Machine Management: Add states and transitions, then inspect existing controller structure to verify animation flow.
  • Runtime Control: Assign controllers to GameObjects, set float/int/bool/trigger parameters, and play specific states during gameplay.
  • Use Case: Use it when building a player controller that switches between idle, run, jump, and attack animations based on gameplay input.

Quick Start

Ask for a Unity Animator Controller to be created, configured with the needed parameters and transitions, and assigned to the target GameObject.

Frequently Asked Questions about unity-animator

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

FAQPage Schema
How do I create a Unity Animator Controller with transitions and runtime parameters?

To create a Unity Animator Controller, you define Mecanim states and transitions, then configure float, int, bool, and trigger parameters to drive runtime animation playback. This allows precise control over character or UI animation flow based on gameplay input.

Can I inspect an existing Unity Animator state machine to verify animation flow?

Yes, you can inspect existing Unity Animator state machines to verify animation flow. The inspection process reviews controller structure, layer organization, and state transitions to ensure your Mecanim setup operates correctly without hand-editing complex logic.

What's the best way to set float, int, bool, and trigger parameters in a Mecanim controller?

The best way to set Mecanim runtime parameters is by assigning the Animator Controller to a GameObject and directly updating the float, int, bool, and trigger values. This approach drives specific state playback dynamically during gameplay.

Does this approach support organizing multiple animation layers in Unity?

Yes, this approach supports organizing multiple animation layers in Unity. You can add layers to an Animator Controller during setup, allowing you to separate and manage distinct animation logic such as upper body and lower body movements.

How do I switch between idle, run, jump, and attack animations based on gameplay input?

To switch between idle, run, jump, and attack animations, you wire transitions between Mecanim states using runtime parameters. By setting bools or triggers from your gameplay input script, the Animator Controller plays the corresponding state dynamically.

Why hand-edit complex Unity state machines when you can automate controller setup?

Hand-editing complex Unity state machines creates friction and potential logic errors. Automating Animator Controller setup removes this friction by programmatically adding states, defining transitions, and organizing layers to verify animation flow safely.