unity-animator

Create and control Unity Animator Controllers, states, transitions, and runtime parameters.

2|Updated May 18, 2026
One-click install
npx skills add https://github.com/pcone-mm/NewFPG --skill unity-animator-pcone-mm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-animator
Source: https://github.com/pcone-mm/NewFPG/tree/main/.agents/skills/unity-skills/skills/animator
Command: npx skills add https://github.com/pcone-mm/NewFPG --skill unity-animator-pcone-mm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up Unity's Mecanim animation system requires repetitive manual work in the Editor: creating Animator Controllers, wiring states and transitions, defining parameters, and driving them at runtime. This Skill automates the entire Animator workflow through direct skill calls. ## Core Features & Use Cases - Controller & State Machine Setup: Create Animator Controllers, add states and transitions with exit time and duration settings, and assign controllers to GameObjects. - Parameter Management: Add float, int, bool, and trigger parameters with defaults, then set them at runtime on any GameObject identified by name, instance ID, or hierarchy path. - Runtime Playback Control: Play specific animation states on a chosen layer with a normalized start time, and inspect Animator component info such as speed, root motion, and layer count. - Use Case: Build a player character animation setup from scratch — create a PlayerController, add Speed/IsGrounded/Jump parameters, assign it to the Player GameObject, then trigger jumps and drive locomotion at runtime. ## Quick Start Create an Animator Controller named PlayerController, add a float Speed parameter and a Jump trigger, assign it to the Player GameObject, and set Speed to 5 at runtime.

Frequently Asked Questions about unity-animator

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

FAQPage Schema
How do I create an Animator Controller in Unity programmatically?

Call animator_create_controller with a name and optional save folder, which defaults to Assets/Animations. Then add parameters with animator_add_parameter and states with animator_add_state before assigning it to a GameObject.

How to set Unity Animator parameters at runtime?

Use animator_set_parameter with the GameObject identified by name, instanceId, or path, plus the parameter name, type, and value. Trigger parameters fire without a value and reset automatically after firing.

Can I create AnimationClips with the Unity animator skill?

No, animator_create_clip and animator_add_clip do not exist. AnimationClips are created through the Unity Editor or asset import, and existing clips can be attached to states via the clipPath parameter of animator_add_state.

How do I change Animator speed in Unity?

There is no animator_set_parameter for speed; use component_set_property on the Animator component with propertyName set to speed. Animator speed is a component property, not a state machine parameter.

Does animator_set_parameter work outside Play mode?

It targets GameObjects with an Animator in the scene, but outside Play mode the state machine only advances in Editor preview mode. The effect is not fully equivalent to runtime behavior, so verify results in Play mode.