unity-primetween

Inspect PrimeTween installations and generate runtime tween and sequence scripts for Unity.

Updated Aug 18, 2026
One-click install
npx skills add https://github.com/ethanJPope/Our-Main-Hackathon-Game --skill unity-primetween-ethanjpope
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-primetween
Source: https://github.com/ethanJPope/Our-Main-Hackathon-Game/tree/main/.agents/skills/unity-skills/skills/primetween
Command: npx skills add https://github.com/ethanJPope/Our-Main-Hackathon-Game --skill unity-primetween-ethanjpope

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Unity developers using the PrimeTween Free package need to verify its installation, explore its animation API surface, and write boilerplate MonoBehaviour scripts that correctly own and stop Tween or Sequence handles, which is repetitive and error-prone when done by hand. ## Core Features & Use Cases - Installation and Configuration Inspection: Report whether PrimeTween is installed, its package version, assembly, core types, and the current global runtime values exposed by PrimeTweenConfig. - API Discovery: List public static factory methods from PrimeTween types such as Tween, Sequence, Shake, and PrimeTweenConfig to explore supported animation APIs. - Script Generation: Generate Transform-focused MonoBehaviour scripts for Position, LocalPosition, EulerAngles, LocalEulerAngles, and Scale tweens, plus Sequence scripts using Chain and Group steps, with handles stopped on disable. - Use Case: A developer wants a looping scale punch animation on a UI element. They check the PrimeTween installation status, list available Tween factories, then generate a Sequence script with Chain and Group steps configured for Scale with OutBack easing. ## Quick Start Check whether PrimeTween is installed in my Unity project and generate a MonoBehaviour that tweens a Transform's local position over one second with OutQuad easing.

Frequently Asked Questions about unity-primetween

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

FAQPage Schema
How do I check if PrimeTween is installed in my Unity project?

Use the primetween_get_status skill to report whether PrimeTween is installed, along with its package version, assembly, and visible core types. The package must be installed as com.kyrylokuzyk.primetween for detection to succeed.

How to generate a PrimeTween animation script for Unity Transforms?

Use primetween_generate_tween_script with a className and tweenKind such as LocalPosition, Position, EulerAngles, or Scale. The generated MonoBehaviour owns its Tween handle and stops it on disable, with configurable duration, ease, cycles, and autoPlay.

Does PrimeTween support sequence animations with Chain and Group?

Yes, the primetween_generate_sequence_script skill generates a MonoBehaviour using Sequence.Chain and Sequence.Group with supported Transform tween factories. You can pass a stepsJson array of Chain or Group operations with tweenKind and duration values.

Why does PrimeTween script generation return MODE_FORBIDDEN?

Both script generator skills are auto-forbidden because writing a new .cs file triggers compilation and a Domain Reload, classifying them as high risk. They only run under Bypass mode or through a user-managed Allowlist entry, not under Approval or Auto modes.

Can I configure PrimeTween settings through a project asset?

No, PrimeTweenConfig is runtime state, not a serialized project configuration asset. The primetween_get_config skill only reads the current global runtime values and does not write or configure any settings asset.