unity-primetween-design

Provides source-anchored design rules for PrimeTween 1.4.6 animation code in Unity.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing PrimeTween animation code with assumptions carried over from DOTween leads to bugs: reused dead tween handles, wrong sequence composition methods, and missing target-destruction handling. This Skill grounds PrimeTween usage in the actual 1.4.6 source so generated or reviewed code follows correct lifecycle and API rules. ## Core Features & Use Cases - Factory and Handle Rules: Enforces that PrimeTween Tween handles are structs that become dead after completion or stopping, requiring new tweens for replay or reversal. - Sequence Composition Guidance: Maps Chain, Group, and Insert semantics for sequential, parallel, and absolute-time animation, correcting DOTween Append/Join vocabulary. - Callback and Lifecycle Safety: Covers zero-allocation OnComplete<T> target binding, destroyed-target warnings via PrimeTweenConfig, async/await and coroutine waiting trade-offs, and serializable TweenSettings. - Use Case: When reviewing a Unity script that chains UI fade and scale tweens with callbacks, load this Skill to verify sequence configuration, cancellation behavior, and allocation-sensitive patterns against the installed package source. ## Quick Start Review my PrimeTween sequence code and check whether the handle reuse, callbacks, and cancellation follow PrimeTween 1.4.6 rules.

Frequently Asked Questions about unity-primetween-design

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

FAQPage Schema
How do I sequence tweens in PrimeTween?▼

Use Sequence.Create and compose with Chain for sequential steps, Group for parallel work against the previous item, and Insert for absolute-time overlap. Cycles, easing, and update type are configured on Sequence.Create, not through DOTween-style fluent setters.

PrimeTween vs DOTween sequence API differences?▼

PrimeTween uses Chain, Group, and Insert instead of DOTween's Append and Join vocabulary. Sequence-level settings like cycles and ease are passed at creation time, and there is no SetLink API for target lifetime handling.

Can I reuse a PrimeTween Tween handle after it completes?▼

No. A PrimeTween Tween handle is a struct, and a completed or stopped handle is dead and non-reusable. Create a new tween through the static Tween factories to replay or reverse an animation.

Does PrimeTween support async await and coroutines?▼

Yes, PrimeTween supports await tween and ToYieldInstruction for coroutines. Both async state machines and coroutines allocate, so for allocation-sensitive animation flows the documentation recommends using Sequence instead.

How do I avoid closure allocations in PrimeTween callbacks?▼

Use the OnComplete<T> overloads or sequence callback overloads that bind a target explicitly. This avoids capturing closures and lets PrimeTween suppress the callback if the bound Unity target is destroyed.

What Unity versions does PrimeTween 1.4.6 support?▼

The PrimeTween UPM package supports Unity 2018.4 and later, though the Unity Skills collection itself maintains a Unity 2022.3 baseline. Check the installed package version before relying on newer factory overloads or PrimeTween Pro features.