unity-animator
Installation
SKILL.md
Unity Animator Skills
Create Animator Controllers, add states, transitions and parameters, assign controllers to GameObjects, set parameters at runtime and play states. Parameters come from the schema (GET /skills/schema?category=Animator&wire=v2); execution and dryRun rules: root SKILL.md.
When to use
- Setting up or wiring an Animator
- Adjusting animation state machines
- Driving animation parameters at runtime
Rules
- Query skills (
animator_get_parameters,animator_get_info,animator_list_states) are read-only and run under Approval; the writers andanimator_playneed a grant there. animator_set_parameterandanimator_playact on the Animator of a scene GameObject. Outside Play Mode the state machine advances only in the editor's preview, which does not match runtime exactly.- Triggers reset automatically after they fire.
- Set parameters before playing states, and create the controller before adding parameters.
- States must exist in the controller before
animator_playcan use them. animator_add_parameterapplies only the default that matchesparamType.- For Timeline animation, use timeline; for Animator component properties, use component; for animation import settings, use importer.