unity-animator

Create and control Unity Mecanim Animator Controllers with runtime parameters.

6|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/dyCuong03/unity-agent-team --skill unity-animator-dycuong03
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-animator
Source: https://github.com/dyCuong03/unity-agent-team/tree/main/.claude/skills/unity-skills/skills/animator
Command: npx skills add https://github.com/dyCuong03/unity-agent-team --skill unity-animator-dycuong03

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you set up and control Unity Mecanim Animator Controllers so character animations respond correctly to runtime gameplay inputs.

Core Features & Use Cases

  • Create and configure Animator Controllers: create controllers, add layers’ states, and define transitions with exit time and duration for predictable animation flow.
  • Manage parameters for runtime control: add float/int/bool/trigger parameters and read them back to ensure your controller matches the logic you intend to drive.
  • Drive animation at runtime: assign controllers to GameObjects and set parameters or play a specific state to trigger animations like idle/locomotion/attacks.
  • Use case: build a third-person character controller where movement speed blends via a float, grounded state gates transitions via a bool, and jumping triggers an animation via a trigger parameter.

Quick Start

Ask the AI to create a controller, add Speed (float) and Jump (trigger) parameters, assign it to your Player GameObject, then set Speed to 5 and trigger Jump so the correct state plays.

Frequently Asked Questions about unity-animator

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

FAQPage Schema
How do I set up a Unity Animator Controller with runtime parameters?

To set up a Unity Animator Controller, you create the controller asset, add layers and states, and define float, int, bool, or trigger parameters to drive runtime animation transitions. You then assign the controller to your GameObject and update the parameters during gameplay.

How does a Mecanim state machine handle transitions between animations?

A Mecanim state machine handles transitions by evaluating runtime parameters like booleans or triggers against defined conditions. When parameter values meet the transition criteria, the state machine moves from the current animation state to the target state based on configured exit times and durations.

Can I control character locomotion and combat animations using a single Animator Controller?

Yes, you can control character locomotion and combat animations within a single Animator Controller by using a blend tree for movement speed via a float parameter, and gating attack transitions using trigger or bool parameters to ensure consistent state-transition behavior.

What's the best way to trigger a jump animation in Unity Mecanim?

The best way to trigger a jump animation in Unity Mecanim is to define a trigger parameter in your Animator Controller, create a transition to the jump state gated by that trigger, and set the trigger parameter value at runtime through script to play the animation.

Does this Unity animation controller setup require specific component dependencies?

No, this Unity animation controller setup requires no specific component dependencies. It operates by taking controller asset path inputs to manage parameters and states, routing editing operations and runtime play updates to component, timeline, or importer modules as appropriate.