What problem does it solve?
PrimeTween's API differs significantly from DOTween (struct handles, Chain/Group/Insert instead of Append/Join), and developers often write incorrect tween lifecycle code based on wrong assumptions. This Skill grounds AI-generated PrimeTween code in the actual 1.4.6 package source, preventing misuse of dead tween handles, wrong sequence composition, and allocation-heavy callback patterns.
Core Features & Use Cases
- Source-Anchored Rules: Eight critical design rules each cited to exact files and line numbers in the PrimeTween 1.4.6 package (e.g.,
Runtime/Tween.cs, Runtime/Sequence.cs).
- Lifecycle & Memory Guidance: Covers struct tween handle reuse, destroyed-target detection via
PrimeTweenConfig, zero-allocation OnComplete<T> callbacks, and when to prefer Sequence over await or coroutines.
- Module Routing: Directs to related modules (async, unitask-design, inspector, performance, addressables-design) when a task crosses domain boundaries.
- Use Case: Before writing a UI fade sequence with chained scale animations, load this module so the AI uses
Sequence.Create with Chain/Group correctly instead of DOTween-style fluent setters.
Quick Start
Load the primetween-design module before writing or reviewing any PrimeTween tween, sequence, or callback code in my Unity project.