unity-animator

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

Updated Oct 13, 2025
One-click install
npx skills add https://github.com/Darth-Carrotpie/ProxyCore --skill unity-animator-darth-carrotpie
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: unity-animator
Source: https://github.com/Darth-Carrotpie/ProxyCore/tree/main/.agents/skills/unity-skills/skills/animator
Command: npx skills add https://github.com/Darth-Carrotpie/ProxyCore --skill unity-animator-darth-carrotpie

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up Unity's Mecanim animation system requires repetitive editor work: creating Animator Controllers, wiring states and transitions, adding parameters, and driving them at runtime. This Skill exposes those operations as callable skills so an AI agent can build and control animation state machines directly. ## Core Features & Use Cases - Controller & State Machine Editing: Create Animator Controllers, add states and transitions with exit time and duration settings, and list existing states per layer. - 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: Assign controllers to GameObjects, play specific states on a chosen layer, and inspect Animator component info such as speed, root motion, and culling mode. - Use Case: Ask the agent to build a player animation setup — it creates PlayerController, adds Speed/IsGrounded/Jump parameters, assigns it to the Player GameObject, and triggers the Jump parameter at runtime. ## Quick Start Create an Animator Controller named PlayerController in Assets/Animations, add a float Speed parameter and a Jump trigger, assign it to the Player GameObject, and play the Idle state.

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 programmatically?▼

Call animator_create_controller with a name and optional save folder, which defaults to Assets/Animations. It returns the new controller's asset path, which you then pass to animator_add_parameter, animator_add_state, and animator_add_transition.

How to set Animator parameters at runtime in Unity?▼

Use animator_set_parameter with the target GameObject identified by name, instanceId, or hierarchy path, plus the parameter name, type, and value. Trigger parameters need no value and reset automatically after firing.

Can this skill create AnimationClips for Unity?▼

No, animator_create_clip and animator_add_clip do not exist. AnimationClips are created through the Unity Editor or asset import; this skill only assigns existing clips 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 controller parameter.

Does animator_play work outside Play mode in Unity?▼

It executes, but the state machine only advances in Editor preview mode, so results are not fully equivalent to runtime behavior. For accurate playback verification, enter Play mode first.